X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgui%2Fmenu.h;h=46373b45b635e1b7b0b74264e719bd18d4f6ad0f;hb=717f10b21efba0b9b3dcd844df219c652a18797a;hp=d7a0e7288216ed4d99ed541aaf685183c5aa6f1d;hpb=c0093d25093395cb62fc2526ab42be65a9f015b8;p=supertux.git diff --git a/src/gui/menu.h b/src/gui/menu.h index d7a0e7288..46373b45b 100644 --- a/src/gui/menu.h +++ b/src/gui/menu.h @@ -23,6 +23,7 @@ #include #include #include +#include #include "SDL.h" @@ -75,9 +76,9 @@ public: private: /// copy-construction not allowed - MenuItem(const MenuItem& other) { assert(false); } + MenuItem(const MenuItem& ) { assert(false); } /// assignment not allowed - void operator= (const MenuItem& other) { assert(false); } + void operator= (const MenuItem& ) { assert(false); } /// keyboard key or joystick button bool input_flickering; @@ -143,7 +144,7 @@ public: std::vector items; Menu(); - ~Menu(); + virtual ~Menu(); void add_hl(); void add_label(const std::string& text);