summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp b/vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp
index 7aef34be55d..da9bc1284fa 100644
--- a/vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp
+++ b/vespalib/src/tests/datastore/sharded_hash_map/sharded_hash_map_test.cpp
@@ -266,7 +266,7 @@ TEST_F(DataStoreShardedHashTest, normalize_values_works)
EXPECT_EQ(i, _allocator.get_wrapped(result->first.load_relaxed()).value());
result->second.store_relaxed(EntryRef(i + 200));
}
- _hash_map.normalize_values([](EntryRef ref) { return EntryRef(ref.ref() + 300); });
+ _hash_map.normalize_values([](EntryRef ref) noexcept { return EntryRef(ref.ref() + 300); });
for (uint32_t i = 0; i < 50; ++i) {
MyCompare comp(_store, i);
auto result = _hash_map.find(comp, EntryRef());