mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
Write COMPAT_MODE macro differently
This commit is contained in:
parent
2bbcb7381e
commit
8ad98d12a8
@ -48,10 +48,11 @@ class LegoContainer {
|
|||||||
void Clear()
|
void Clear()
|
||||||
{
|
{
|
||||||
#ifdef COMPAT_MODE
|
#ifdef COMPAT_MODE
|
||||||
for (typename LegoContainerInfo<T>::iterator it = m_map.begin(); it != m_map.end(); it++) {
|
for (typename LegoContainerInfo<T>::iterator it = m_map.begin(); it != m_map.end(); it++)
|
||||||
#else
|
#else
|
||||||
for (LegoContainerInfo<T>::iterator it = m_map.begin(); it != m_map.end(); it++) {
|
for (LegoContainerInfo<T>::iterator it = m_map.begin(); it != m_map.end(); it++)
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
delete (*it).second;
|
delete (*it).second;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user