From: Ingo Ruhnke Date: Fri, 8 Aug 2014 04:05:08 +0000 (+0200) Subject: Minor code cleanup X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7ba504d57d046948d4f5155fb45b780b242cf97b;p=supertux.git Minor code cleanup --- diff --git a/src/supertux/menu/menu_storage.cpp b/src/supertux/menu/menu_storage.cpp index d2c6f1776..0623f2361 100644 --- a/src/supertux/menu/menu_storage.cpp +++ b/src/supertux/menu/menu_storage.cpp @@ -47,7 +47,7 @@ MenuStorage::get_options_menu() { if (!m_options_menu) { - m_options_menu.reset(new OptionsMenu()); + m_options_menu.reset(new OptionsMenu); } return m_options_menu.get(); @@ -58,7 +58,7 @@ MenuStorage::get_profile_menu() { if (!m_profile_menu) { - m_profile_menu.reset(new ProfileMenu()); + m_profile_menu.reset(new ProfileMenu); } return m_profile_menu.get(); diff --git a/src/supertux/menu/menu_storage.hpp b/src/supertux/menu/menu_storage.hpp index b4b78b730..2314097e5 100644 --- a/src/supertux/menu/menu_storage.hpp +++ b/src/supertux/menu/menu_storage.hpp @@ -36,8 +36,8 @@ public: MenuStorage(); ~MenuStorage(); - OptionsMenu* get_options_menu(); - ProfileMenu* get_profile_menu(); + OptionsMenu* get_options_menu(); + ProfileMenu* get_profile_menu(); KeyboardMenu* get_key_options_menu(); JoystickMenu* get_joystick_options_menu();