mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 21:00:39 +00:00
HashMap::size does not modify the state of the hashmap, so it can be declared const (allowing it to be used on const hashmaps, too)
svn-id: r22156
This commit is contained in:
parent
d5c8a791a6
commit
62dce81acc
@ -172,7 +172,7 @@ public:
|
||||
|
||||
size_t erase(const Key &key);
|
||||
|
||||
uint size() { return _nele; }
|
||||
uint size() const { return _nele; }
|
||||
|
||||
const_iterator begin() const {
|
||||
// Find and return the first non-empty entry
|
||||
|
Loading…
Reference in New Issue
Block a user