Iterator erased during loop

Code reviewHard30 minNvidia and Microsoft style

Your task

Review this C++ loop that prunes expired entries.