mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-01 15:50:27 +02:00
Remove core::list and replace uses with std::list (#105)
This commit is contained in:
@ -387,11 +387,7 @@ void CGUIEnvironment::clear()
|
||||
HoveredNoSubelement = 0;
|
||||
}
|
||||
|
||||
// get the root's children in case the root changes in future
|
||||
const core::list<IGUIElement*>& children = getRootGUIElement()->getChildren();
|
||||
|
||||
while (!children.empty())
|
||||
(*children.getLast())->remove();
|
||||
getRootGUIElement()->removeAllChildren();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user