summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--searchlib/src/vespa/searchlib/datastore/entryref.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/datastore/entryref.h b/searchlib/src/vespa/searchlib/datastore/entryref.h
index f5b687f0498..dc23349caad 100644
--- a/searchlib/src/vespa/searchlib/datastore/entryref.h
+++ b/searchlib/src/vespa/searchlib/datastore/entryref.h
@@ -13,6 +13,7 @@ public:
EntryRef() : _ref(0u) { }
explicit EntryRef(uint32_t ref_) : _ref(ref_) { }
uint32_t ref() const { return _ref; }
+ uint32_t hash() const { return _ref; }
bool valid() const { return _ref != 0u; }
bool operator==(const EntryRef &rhs) const { return _ref == rhs._ref; }
bool operator!=(const EntryRef &rhs) const { return _ref != rhs._ref; }