diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-03-09 15:42:55 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-03-09 15:42:55 +0000 |
commit | 6767eb4c65a82202f6b642751e8050836dbaf5d0 (patch) | |
tree | 7ebd638c8619ed6f8ed5b7ee8c70255cef17caaf /vespalib/src/tests/datastore/unique_store_dictionary | |
parent | 7f81c030ecb230a75a21e02e78fa6bb9290f4a69 (diff) |
Add simple equal to Comparator interface.
Diffstat (limited to 'vespalib/src/tests/datastore/unique_store_dictionary')
-rw-r--r-- | vespalib/src/tests/datastore/unique_store_dictionary/unique_store_dictionary_test.cpp | 3 |
1 files changed, 3 insertions, 0 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 fc5709072b9..08b80917f45 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 @@ -28,6 +28,9 @@ public: bool less(const EntryRef lhs, const EntryRef rhs) const override { return resolve(lhs).ref() < resolve(rhs).ref(); } + bool equal(const EntryRef lhs, const EntryRef rhs) const override { + return resolve(lhs).ref() == resolve(rhs).ref(); + } }; struct DictionaryReadTest : public ::testing::Test { |