MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / ClearInactivePools

Method ClearInactivePools

TombEngine/Game/effects/Streamer.cpp:226–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 }
225
226 void StreamerGroup::ClearInactivePools()
227 {
228 for (auto it = _pools.begin(); it != _pools.end();)
229 {
230 const auto& pool = it->second;
231 if (pool.empty())
232 {
233 it = _pools.erase(it);
234 continue;
235 }
236
237 ++it;
238 }
239 }
240
241 void StreamerGroup::ClearInactiveStreamers(int tag)
242 {

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected