Index: base/containers/hash_tables_unittest.cc |
diff --git a/base/containers/hash_tables_unittest.cc b/base/containers/hash_tables_unittest.cc |
index 60fbeaabc099c7cd967ac5c6c6409160fa0413cf..dd77ac9b1109e2b57985b71d01c984b6f2d055f9 100644 |
--- a/base/containers/hash_tables_unittest.cc |
+++ b/base/containers/hash_tables_unittest.cc |
@@ -4,6 +4,8 @@ |
#include "base/containers/hash_tables.h" |
+#include <stdint.h> |
+ |
danakj
2015/05/14 22:27:52
no whitespace here https://google-styleguide.googl
tfarina
2015/05/18 17:09:01
Done.
|
#include <string> |
#include "base/basictypes.h" |
viettrungluu
2015/05/14 21:32:33
You can probably remove this include.
tfarina
2015/05/18 17:09:01
not yet, as it is still using the int* types from
|
@@ -31,7 +33,7 @@ TEST_F(HashPairTest, IntegerPairs) { |
INSERT_PAIR_TEST(Int16Int16Pair, 4, 6); |
INSERT_PAIR_TEST(Int16Int32Pair, 9, (1 << 29) + 378128932); |
INSERT_PAIR_TEST(Int16Int64Pair, 10, |
- (GG_INT64_C(1) << 60) + GG_INT64_C(78931732321)); |
+ (INT64_C(1) << 60) + INT64_C(78931732321)); |
typedef std::pair<int32, int16> Int32Int16Pair; |
typedef std::pair<int32, int32> Int32Int32Pair; |
@@ -40,7 +42,7 @@ TEST_F(HashPairTest, IntegerPairs) { |
INSERT_PAIR_TEST(Int32Int16Pair, 4, 6); |
INSERT_PAIR_TEST(Int32Int32Pair, 9, (1 << 29) + 378128932); |
INSERT_PAIR_TEST(Int32Int64Pair, 10, |
- (GG_INT64_C(1) << 60) + GG_INT64_C(78931732321)); |
+ (INT64_C(1) << 60) + INT64_C(78931732321)); |
typedef std::pair<int64, int16> Int64Int16Pair; |
typedef std::pair<int64, int32> Int64Int32Pair; |
@@ -49,7 +51,7 @@ TEST_F(HashPairTest, IntegerPairs) { |
INSERT_PAIR_TEST(Int64Int16Pair, 4, 6); |
INSERT_PAIR_TEST(Int64Int32Pair, 9, (1 << 29) + 378128932); |
INSERT_PAIR_TEST(Int64Int64Pair, 10, |
- (GG_INT64_C(1) << 60) + GG_INT64_C(78931732321)); |
+ (INT64_C(1) << 60) + INT64_C(78931732321)); |
} |
// Verify that base::hash_set<const char*> compares by pointer value, not as C |