MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / clear

Method clear

ogsr_engine/xrGame/script_vars_storage.cpp:85–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83CScriptVarsTable::~CScriptVarsTable() { clear(); }
84
85void CScriptVarsTable::clear()
86{
87 auto it = m_map.begin();
88 auto end = m_map.end();
89 for (; it != end; it++)
90 it->second.release();
91 m_map.clear();
92}
93
94int CScriptVarsTable::load(IReader& memory_stream)
95{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected