aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/datastore/unique_store_dictionary
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-10-11 21:49:14 +0200
committerTor Egge <Tor.Egge@broadpark.no>2020-10-11 21:49:14 +0200
commit2336277e700ec5ea9aa7582e93000cece7f7b120 (patch)
treeb267bfd1cabb3d9423ba2509c2bf299a803081d1 /vespalib/src/tests/datastore/unique_store_dictionary
parent982a1b1804b8773be2c5db13535fa0b0e33928b1 (diff)
Eliminate noexcept warnings.
Diffstat (limited to 'vespalib/src/tests/datastore/unique_store_dictionary')
-rw-r--r--vespalib/src/tests/datastore/unique_store_dictionary/unique_store_dictionary_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/datastore/unique_store_dictionary/unique_store_dictionary_test.cpp b/vespalib/src/tests/datastore/unique_store_dictionary/unique_store_dictionary_test.cpp
index 37a22108dc5..6a9215c3eb9 100644
--- a/vespalib/src/tests/datastore/unique_store_dictionary/unique_store_dictionary_test.cpp
+++ b/vespalib/src/tests/datastore/unique_store_dictionary/unique_store_dictionary_test.cpp
@@ -40,7 +40,7 @@ struct DictionaryReadTest : public ::testing::Test {
{
}
DictionaryReadTest& add(uint32_t value) {
- auto result = dict.add(Comparator(value), [=]() { return EntryRef(value); });
+ auto result = dict.add(Comparator(value), [=]() noexcept { return EntryRef(value); });
assert(result.inserted());
return *this;
}