Add missing files in 4942cabab5

This was SVN commit r24488.
This commit is contained in:
Stan
2020-12-31 14:27:02 +00:00
parent 4942cabab5
commit e009d322cc
21 changed files with 49 additions and 45 deletions
+2 -2
View File
@@ -79,10 +79,10 @@ CGUI::CGUI(const shared_ptr<ScriptContext>& context)
CGUI::~CGUI()
{
for (const std::pair<CStr, IGUIObject*>& p : m_pAllObjects)
for (const std::pair<const CStr, IGUIObject*>& p : m_pAllObjects)
delete p.second;
for (const std::pair<CStr, const CGUISprite*>& p : m_Sprites)
for (const std::pair<const CStr, const CGUISprite*>& p : m_Sprites)
delete p.second;
}