diff options
author | LDA <lda@ldasuku.net> | 2023-06-26 11:48:27 -0700 |
---|---|---|
committer | LDA <lda@ldasuku.net> | 2023-06-26 11:58:35 -0700 |
commit | c9e889723b7af832322d178975e6e440d6cd3ae5 (patch) | |
tree | a8429c30ecf46ed1388df13b614141e73973cd9f /source/test/flat_hash_test.cpp | |
parent | 4585c9cafa87cad6b54397af7e9375cc31b72f89 (diff) |
resolved most of the compiler warnings/errors under gcc
also update xxhash and tinyformat
Diffstat (limited to 'source/test/flat_hash_test.cpp')
-rw-r--r-- | source/test/flat_hash_test.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/test/flat_hash_test.cpp b/source/test/flat_hash_test.cpp index 96574a7..754f977 100644 --- a/source/test/flat_hash_test.cpp +++ b/source/test/flat_hash_test.cpp @@ -81,8 +81,9 @@ TEST(FlatHashSet, Random) { Random::shuffle(keys); for (auto k : keys) { auto i = testSet.find(k); - if (i != testSet.end()) + if (i != testSet.end()) { ASSERT_TRUE(*i == k); + } } Random::shuffle(keys); @@ -180,8 +181,9 @@ TEST(FlatHashMap, Random) { Random::shuffle(values); for (auto v : values) { auto i = testMap.find(v.first); - if (i != testMap.end()) + if (i != testMap.end()) { ASSERT_TRUE(i->second == v.second); + } } Random::shuffle(values); |