Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenApoc/OpenApoc
/ ~StateRefMap
Method
~StateRefMap
game/state/stateobject.h:19–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
{
18
public:
19
~StateRefMap()
20
{
21
for (auto &obj : *this)
22
{
23
obj.second->destroy();
24
}
25
}
26
};
27
28
template <typename T> class StateObject
Callers
nothing calls this directly
Calls
1
destroy
Method · 0.45
Tested by
no test coverage detected