diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 00:54:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 00:54:07 +0000 |
commit | 5434e946ee280dcc1dc7e0951bfa1ccc3054e6ab (patch) | |
tree | c717979cf08c1077b13d029d148c6daa5a189d6b /include/bancache.h | |
parent | ae888e9cf9bd0b41edfbc4231d0435a23441509e (diff) |
There are two forms of map::erase(), one erases by key the other by iterator.
if we erase by key, this involves a second search to find that key.
Fix to pass the iterator instead and avoid the second map search :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8488 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/bancache.h')
0 files changed, 0 insertions, 0 deletions