MCPcopy Create free account
hub / github.com/crownengine/crown / ~UnitCompiler

Method ~UnitCompiler

src/resource/unit_compiler.cpp:1386–1397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1384}
1385
1386UnitCompiler::~UnitCompiler()
1387{
1388 auto cur = hash_map::begin(_units);
1389 auto end = hash_map::end(_units);
1390 for (; cur != end; ++cur) {
1391 HASH_MAP_SKIP_HOLE(_units, cur);
1392
1393 unit_compiler::delete_unit(cur->second);
1394 }
1395
1396 hash_map::clear(_units);
1397}
1398
1399} // namespace crown
1400

Callers

nothing calls this directly

Calls 4

delete_unitFunction · 0.85
beginFunction · 0.50
endFunction · 0.50
clearFunction · 0.50

Tested by

no test coverage detected