diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/hashmap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/hashmap.h b/common/hashmap.h index 2627babd0e..35d715001c 100644 --- a/common/hashmap.h +++ b/common/hashmap.h @@ -202,20 +202,20 @@ public: return const_iterator((uint)-1, this); } - const_iterator find(const String &key) const { + const_iterator find(const Key &key) const { uint ctr = lookup(key); if (_arr[ctr]) return const_iterator(ctr, this); return end(); } - +/* const_iterator find(const char *key) const { uint ctr = lookup(key); if (_arr[ctr]) return const_iterator(ctr, this); return end(); } - +*/ // TODO: insert() method? |