Searched refs:toErase (Results 1 – 1 of 1) sorted by relevance
417 if (const size_t toErase = overlimit + expired; in expirations() local418 toErase > 0) { in expirations()421 mItemsDiscarded += toErase; in expirations()422 mItems.erase(mItems.begin(), mItems.begin() + toErase); // erase from front in expirations()