Fix cppcheck complaint

This commit is contained in:
Tony Levi 2016-06-28 14:59:20 +09:30
parent d57c12d3c3
commit ab4b92074c

View File

@ -499,9 +499,10 @@ bool StatCache::TruncateCache(void)
if(entry){
delete entry;
}
stat_cache.erase(iter);
stat_cache.erase(iter++);
}else{
++iter;
}
++iter;
}
}