aboutsummaryrefslogtreecommitdiffstats
path: root/googletest/src
diff options
context:
space:
mode:
authorKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-09-10 12:20:09 +0200
committerKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-10-24 08:31:26 +0200
commit6e87238c9b14bcd749364e9b7125622a985a8a20 (patch)
treeec61eb83c0dc6e9981822cf204c0260025476b2e /googletest/src
parent3f05f651ae3621db58468153e32016bc1397800b (diff)
downloadgoogletest-6e87238c9b14bcd749364e9b7125622a985a8a20.tar.gz
googletest-6e87238c9b14bcd749364e9b7125622a985a8a20.tar.bz2
googletest-6e87238c9b14bcd749364e9b7125622a985a8a20.zip
remove BiggestInt
Diffstat (limited to 'googletest/src')
-rw-r--r--googletest/src/gtest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc
index 0d1f4136..8f3301cc 100644
--- a/googletest/src/gtest.cc
+++ b/googletest/src/gtest.cc
@@ -1449,8 +1449,8 @@ namespace internal {
// arguments.
AssertionResult CmpHelperEQ(const char* lhs_expression,
const char* rhs_expression,
- BiggestInt lhs,
- BiggestInt rhs) {
+ std::intmax_t lhs,
+ std::intmax_t rhs) {
if (lhs == rhs) {
return AssertionSuccess();
}
@@ -1463,11 +1463,11 @@ AssertionResult CmpHelperEQ(const char* lhs_expression,
}
// A macro for implementing the helper functions needed to implement
-// ASSERT_?? and EXPECT_?? with integer or enum arguments. It is here
+// ASSERT_?? and EXPECT_?? with integer or enum arguments. It is here
// just to avoid copy-and-paste of similar code.
#define GTEST_IMPL_CMP_HELPER_(op_name, op)\
AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
- BiggestInt val1, BiggestInt val2) {\
+ std::intmax_t val1, std::intmax_t val2) {\
if (val1 op val2) {\
return AssertionSuccess();\
} else {\