summaryrefslogtreecommitdiff
path: root/src/gui/modalMenu.cpp
diff options
context:
space:
mode:
authorparadust7 <102263465+paradust7@users.noreply.github.com>2022-05-21 15:11:59 -0700
committerGitHub <noreply@github.com>2022-05-22 00:11:59 +0200
commit9f338f5a56e5adee3d11d59827f7e2b8a714e6c2 (patch)
treea16861160b117c68078c686a02cd5aca6385c66d /src/gui/modalMenu.cpp
parent2742fef458c3626476193c9e2d1b9231e042e420 (diff)
downloadminetest-9f338f5a56e5adee3d11d59827f7e2b8a714e6c2.tar.gz
minetest-9f338f5a56e5adee3d11d59827f7e2b8a714e6c2.tar.bz2
minetest-9f338f5a56e5adee3d11d59827f7e2b8a714e6c2.zip
Replace all uses of core::list with std::list (#12313)
Diffstat (limited to 'src/gui/modalMenu.cpp')
-rw-r--r--src/gui/modalMenu.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gui/modalMenu.cpp b/src/gui/modalMenu.cpp
index 56a5d2cb9..d27f63d94 100644
--- a/src/gui/modalMenu.cpp
+++ b/src/gui/modalMenu.cpp
@@ -108,19 +108,6 @@ void GUIModalMenu::quitMenu()
#endif
}
-void GUIModalMenu::removeChildren()
-{
- const core::list<gui::IGUIElement *> &children = getChildren();
- core::list<gui::IGUIElement *> children_copy;
- for (gui::IGUIElement *i : children) {
- children_copy.push_back(i);
- }
-
- for (gui::IGUIElement *i : children_copy) {
- i->remove();
- }
-}
-
// clang-format off
bool GUIModalMenu::DoubleClickDetection(const SEvent &event)
{