BoostSet: Add 'remove' and rename BoostHash::erase to remove
This is more consistent with Qt's method naming.
This commit is contained in:
parent
10186e8dcc
commit
f665d8b41c
2 changed files with 7 additions and 2 deletions
|
@ -233,7 +233,7 @@ SoundBuffer *SoundEmitter::allocateBuffer(const std::string &filename)
|
|||
while (wouldBeBytes > SE_CACHE_MEM && !buffers.isEmpty())
|
||||
{
|
||||
SoundBuffer *last = buffers.tail();
|
||||
bufferHash.erase(last->key);
|
||||
bufferHash.remove(last->key);
|
||||
buffers.remove(last->link);
|
||||
|
||||
wouldBeBytes -= last->bytes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue