MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / ~cache_base_t

Method ~cache_base_t

modules/engine/runtime/src/ecs/cache.cpp:6–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4 : pool(pool), first(nullptr), last(nullptr), curr(0), count(0) {}
5
6sugoi::cache_base_t::~cache_base_t()
7{
8 auto iter = first;
9 while(iter != nullptr)
10 {
11 auto next = iter->next;
12 pool.free(iter);
13 iter = next;
14 }
15}

Callers

nothing calls this directly

Calls 1

freeMethod · 0.45

Tested by

no test coverage detected