Fix lots of places I used 'empty' instead of 'clear'. This is why I like 'isEmpty'.

This commit is contained in:
JoelKatz
2012-10-11 05:06:24 -07:00
parent 4f1ebc2884
commit c43934ab6f
4 changed files with 7 additions and 7 deletions

View File

@@ -69,6 +69,6 @@ CKey::pointer PubKeyCache::store(const NewcoinAddress& id, const CKey::pointer&
void PubKeyCache::clear()
{
boost::mutex::scoped_lock sl(mLock);
mCache.empty();
mCache.clear();
}
// vim:ts=4