From: Ingo Ruhnke Date: Mon, 25 Aug 2014 01:24:08 +0000 (+0200) Subject: Made member variables private and removed friendship to Menu in MenuManager X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4c28f74b1139bd18f808514c3c06dc84bbd6eb65;p=supertux.git Made member variables private and removed friendship to Menu in MenuManager --- diff --git a/src/gui/menu_manager.hpp b/src/gui/menu_manager.hpp index 643841bac..8fb656c39 100644 --- a/src/gui/menu_manager.hpp +++ b/src/gui/menu_manager.hpp @@ -34,12 +34,10 @@ private: public: static MenuManager& instance(); -public: +private: std::vector > m_menu_stack; std::unique_ptr m_transition; - friend class Menu; - public: MenuManager(); ~MenuManager();