Commit be74b4b2 by Abseil Team Committed by Gennadiy Rozental

Googletest export

Wrap call to std::numeric_limits<>::max into round braces to appease MSVC. Closes #2589 PiperOrigin-RevId: 282581361
parent 7a8a5bce
......@@ -2088,7 +2088,7 @@ GTEST_DISABLE_MSC_DEPRECATED_POP_()
using BiggestInt = long long; // NOLINT
// The maximum number a BiggestInt can represent.
constexpr BiggestInt kMaxBiggestInt = std::numeric_limits<BiggestInt>::max();
constexpr BiggestInt kMaxBiggestInt = (std::numeric_limits<BiggestInt>::max)();
// This template class serves as a compile-time function from size to
// type. It maps a size in bytes to a primitive type with that
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment