Cmall cleanups and fixes.

This commit is contained in:
JoelKatz
2012-09-07 15:06:25 -07:00
parent 90fb093402
commit 390e628f10
8 changed files with 14 additions and 15 deletions

View File

@@ -111,7 +111,7 @@ template<typename c_Key, typename c_Data> void TaggedCache<c_Key, c_Data>::sweep
if (mit->second->expired())
{
typename boost::unordered_map<key_type, weak_data_ptr>::iterator tmp = mit++;
mMap.erase(mit);
mMap.erase(mit++);
}
else
++mit;