From bd7ad9aedd87c857477bbfcf7653af91a80f4df6 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Tue, 24 Jan 2012 19:51:16 +0100 Subject: Removed 'inline' keyword where it's not of any value Members that are implemented inline are already inline, there is no need to mark them as such. Made two inline members of OpenGLGraphics private since because they are marked as inline, they can't be used from other classes. Reviewed-by: Erik Schilling --- src/gui/windowmenu.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/windowmenu.h') diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h index 962abaf5..427c31b9 100644 --- a/src/gui/windowmenu.h +++ b/src/gui/windowmenu.h @@ -55,10 +55,10 @@ class WindowMenu : public Container, void updatePopUpCaptions(); private: - inline void addButton(const std::string& text, int &x, int &h, - const std::string& iconPath = std::string(), - KeyboardConfig::KeyAction key = - KeyboardConfig::KEY_NO_VALUE); + void addButton(const std::string& text, int &x, int &h, + const std::string& iconPath = std::string(), + KeyboardConfig::KeyAction key = + KeyboardConfig::KEY_NO_VALUE); EmotePopup *mEmotePopup; }; -- cgit v1.2.3-70-g09d2