summaryrefslogtreecommitdiff
path: root/src/mongo/util/lru_cache_test.cpp
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2018-11-12 12:07:36 -0500
committerMathew Robinson <chasinglogic@gmail.com>2018-12-05 15:13:34 -0500
commit1c135a8f8368b92d44b3012dbff5f0cfdfed5166 (patch)
treed184ffbbdb9b101fbef8dfeeb183f3f1c63e0ca9 /src/mongo/util/lru_cache_test.cpp
parentc878f92bae27bc0bb269256babf28f428d5ac959 (diff)
downloadmongo-1c135a8f8368b92d44b3012dbff5f0cfdfed5166.tar.gz
SERVER-27881 Upgrade boost to 1.68.0
Diffstat (limited to 'src/mongo/util/lru_cache_test.cpp')
-rw-r--r--src/mongo/util/lru_cache_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/lru_cache_test.cpp b/src/mongo/util/lru_cache_test.cpp
index 5a882d76927..70cb618d1c2 100644
--- a/src/mongo/util/lru_cache_test.cpp
+++ b/src/mongo/util/lru_cache_test.cpp
@@ -572,7 +572,7 @@ TEST(LRUCacheTest, CustomHashAndEqualityTypeTest) {
// this should replace the original value of 20 with 0.
FunkyKeyType sortaEqual(10, 0);
assertEquals(cache.size(), size_t(1));
- auto replaced = cache.add(sortaEqual, sortaEqual._b);
+ cache.add(sortaEqual, sortaEqual._b);
assertEquals(cache.size(), size_t(1));
found = cache.find(key);
assertNotEquals(found, cache.end());