aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/hashmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/hashmap.h b/common/hashmap.h
index 99380707b7..a48092a4a2 100644
--- a/common/hashmap.h
+++ b/common/hashmap.h
@@ -255,14 +255,14 @@ public:
iterator find(const Key &key) {
uint ctr = lookup(key);
- if (_storage[ctr] && _storage[ctr] != HASHMAP_DUMMY_NODE)
+ if (_storage[ctr])
return iterator(ctr, this);
return end();
}
const_iterator find(const Key &key) const {
uint ctr = lookup(key);
- if (_storage[ctr] && _storage[ctr] != HASHMAP_DUMMY_NODE)
+ if (_storage[ctr])
return const_iterator(ctr, this);
return end();
}