Googletest export

Wrap call to std::numeric_limits<>::max into round braces to appease MSVC.

Closes #2589

PiperOrigin-RevId: 282581361
This commit is contained in:
Abseil Team 2019-11-26 12:29:33 -05:00 committed by Gennadiy Rozental
parent 7a8a5bcec0
commit be74b4b2e0

View File

@ -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