Made member variables private and removed friendship to Menu in MenuManager
authorIngo Ruhnke <grumbel@gmail.com>
Mon, 25 Aug 2014 01:24:08 +0000 (03:24 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Mon, 25 Aug 2014 07:54:13 +0000 (09:54 +0200)
src/gui/menu_manager.hpp

index 643841b..8fb656c 100644 (file)
@@ -34,12 +34,10 @@ private:
 public:
   static MenuManager& instance();
 
-public:
+private:
   std::vector<std::unique_ptr<Menu> > m_menu_stack;
   std::unique_ptr<MenuTransition> m_transition;
 
-  friend class Menu;
-
 public:
   MenuManager();
   ~MenuManager();