mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Match LegoOmni::Destroy and related (#917)
* Match LegoOmni::Destroy and related * Write COMPAT_MODE macro differently * fix lint issue
This commit is contained in:

committed by
GitHub

parent
ccf33575db
commit
939c09139f
@@ -45,6 +45,18 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void Clear()
|
||||
{
|
||||
#ifdef COMPAT_MODE
|
||||
for (typename LegoContainerInfo<T>::iterator it = m_map.begin(); it != m_map.end(); it++)
|
||||
#else
|
||||
for (LegoContainerInfo<T>::iterator it = m_map.begin(); it != m_map.end(); it++)
|
||||
#endif
|
||||
{
|
||||
delete (*it).second;
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: BETA10 0x1007bc00
|
||||
inline T* Get(const char* p_name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user