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:
parent
7a8a5bcec0
commit
be74b4b2e0
|
@ -2088,7 +2088,7 @@ GTEST_DISABLE_MSC_DEPRECATED_POP_()
|
||||||
using BiggestInt = long long; // NOLINT
|
using BiggestInt = long long; // NOLINT
|
||||||
|
|
||||||
// The maximum number a BiggestInt can represent.
|
// 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
|
// 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
|
// type. It maps a size in bytes to a primitive type with that
|
||||||
|
|
Loading…
Reference in New Issue
Block a user