Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cbc3f205d74e
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f782e40796d8
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Nov 16, 2020

  1. Fix an error found by Clang.

    pleroy committed Nov 16, 2020
    Copy the full SHA
    4ad3ffa View commit details
  2. Merge pull request #2787 from pleroy/CxxLatest

    Fix an error found by Clang
    pleroy authored Nov 16, 2020
    Copy the full SHA
    f782e40 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 base/macros.hpp
2 changes: 1 addition & 1 deletion base/macros.hpp
Original file line number Diff line number Diff line change
@@ -187,7 +187,7 @@ inline void noreturn() { std::exit(0); }
#else
#define PRINCIPIA_MAX(l, r) std::max((l), (r))
#define PRINCIPIA_MAX3(x1, x2, x3) std::max({(x1), (x2), (x3)})
#define PRINCIPIA_MAX4(x1, x2, x3) std::max({(x1), (x2), (x3), (x4)})
#define PRINCIPIA_MAX4(x1, x2, x3, x4) std::max({(x1), (x2), (x3), (x4)})
#endif

// Forward declaration of a class or struct declared in an internal namespace