This commit is contained in:
JoelKatz
2013-01-08 01:54:29 -08:00
parent 0229a89445
commit 59c91d0413

View File

@@ -116,7 +116,7 @@ template<typename c_Key, typename c_Data> void TaggedCache<c_Key, c_Data>::sweep
{
if (mTargetSize != 0)
{
target = mLastSweep - (mTargetAge * mTargeSize / mCache.size());
target = mLastSweep - (mTargetAge * mTargetSize / mCache.size());
if (target > (mLastSweep - 2))
target = mLastSweep - 2;