diff options
author | Willem Jan Palenstijn | 2009-09-22 12:39:07 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-09-22 12:39:07 +0000 |
commit | f9909bfbf5f813a1d80e07e1844162f36a6980c4 (patch) | |
tree | 031f79cb900396cbcf1599d86656ed7b29167069 | |
parent | 4f65994267b88e46159491255147feda98648816 (diff) | |
download | scummvm-rg350-f9909bfbf5f813a1d80e07e1844162f36a6980c4.tar.gz scummvm-rg350-f9909bfbf5f813a1d80e07e1844162f36a6980c4.tar.bz2 scummvm-rg350-f9909bfbf5f813a1d80e07e1844162f36a6980c4.zip |
Remove superfluous checks
svn-id: r44258
-rw-r--r-- | common/hashmap.h | 4 |
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(); } |