mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-01 01:16:03 -04:00
Revert "fix some things cppcheck found...some are TODO because i don't feel like investigating them"
This reverts commit 173575e835.
This commit is contained in:
@@ -217,8 +217,8 @@ bool VisibleExpandableEntry::pruneInvisibleChildren()
|
||||
for (Children::iterator i = m_children.begin(); i != m_children.end(); )
|
||||
if ((*i)->m_visible == false)
|
||||
{
|
||||
delete *i;
|
||||
m_children.erase(i);
|
||||
delete *i;
|
||||
}
|
||||
else
|
||||
++i;
|
||||
|
||||
Reference in New Issue
Block a user