#include <set>
#include <string>
#include <utility>
+#include <assert.h>
#include "SDL.h"
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;
std::vector<MenuItem*> items;
Menu();
- ~Menu();
+ virtual ~Menu();
void add_hl();
void add_label(const std::string& text);