summaryrefslogtreecommitdiff
path: root/src/guichan
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-15 15:15:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-15 15:15:39 +0300
commitb2b348d4baf2891fd82635e068a4f64d2694ba6d (patch)
treec26a27f24697c0a3d925e1ee54239edf78dd6921 /src/guichan
parentb675c9444e268238f836fcd0deb827233df3d012 (diff)
downloadplus-b2b348d4baf2891fd82635e068a4f64d2694ba6d.tar.gz
plus-b2b348d4baf2891fd82635e068a4f64d2694ba6d.tar.bz2
plus-b2b348d4baf2891fd82635e068a4f64d2694ba6d.tar.xz
plus-b2b348d4baf2891fd82635e068a4f64d2694ba6d.zip
Fix compilation warnings without C++11 support.
Diffstat (limited to 'src/guichan')
-rw-r--r--src/guichan/include/guichan/basiccontainer.hpp2
-rw-r--r--src/guichan/include/guichan/event.hpp2
-rw-r--r--src/guichan/include/guichan/focushandler.hpp2
-rw-r--r--src/guichan/include/guichan/graphics.hpp2
-rw-r--r--src/guichan/include/guichan/gui.hpp2
-rw-r--r--src/guichan/include/guichan/sdl/sdlgraphics.hpp2
-rw-r--r--src/guichan/include/guichan/widget.hpp2
-rw-r--r--src/guichan/include/guichan/widgets/button.hpp2
-rw-r--r--src/guichan/include/guichan/widgets/checkbox.hpp2
-rw-r--r--src/guichan/include/guichan/widgets/dropdown.hpp2
-rw-r--r--src/guichan/include/guichan/widgets/label.hpp2
-rw-r--r--src/guichan/include/guichan/widgets/listbox.hpp2
-rw-r--r--src/guichan/include/guichan/widgets/radiobutton.hpp2
-rw-r--r--src/guichan/include/guichan/widgets/scrollarea.hpp2
-rw-r--r--src/guichan/include/guichan/widgets/slider.hpp2
-rw-r--r--src/guichan/include/guichan/widgets/textbox.hpp2
-rw-r--r--src/guichan/include/guichan/widgets/textfield.hpp2
-rw-r--r--src/guichan/include/guichan/widgets/window.hpp2
18 files changed, 18 insertions, 18 deletions
diff --git a/src/guichan/include/guichan/basiccontainer.hpp b/src/guichan/include/guichan/basiccontainer.hpp
index 5df1fafd2..9c1a22b2e 100644
--- a/src/guichan/include/guichan/basiccontainer.hpp
+++ b/src/guichan/include/guichan/basiccontainer.hpp
@@ -69,7 +69,7 @@ namespace gcn
BasicContainer()
{ }
- A_DELETE_COPY(BasicContainer);
+ A_DELETE_COPY(BasicContainer)
/**
* Destructor
diff --git a/src/guichan/include/guichan/event.hpp b/src/guichan/include/guichan/event.hpp
index f6cfe55d1..c6afee48c 100644
--- a/src/guichan/include/guichan/event.hpp
+++ b/src/guichan/include/guichan/event.hpp
@@ -70,7 +70,7 @@ namespace gcn
*/
Event(Widget *const source);
- A_DELETE_COPY(Event);
+ A_DELETE_COPY(Event)
/**
* Destructor.
diff --git a/src/guichan/include/guichan/focushandler.hpp b/src/guichan/include/guichan/focushandler.hpp
index ef600c511..716f3966a 100644
--- a/src/guichan/include/guichan/focushandler.hpp
+++ b/src/guichan/include/guichan/focushandler.hpp
@@ -77,7 +77,7 @@ namespace gcn
*/
FocusHandler();
- A_DELETE_COPY(FocusHandler);
+ A_DELETE_COPY(FocusHandler)
/**
* Destructor.
diff --git a/src/guichan/include/guichan/graphics.hpp b/src/guichan/include/guichan/graphics.hpp
index 0a45d0cb8..291e01766 100644
--- a/src/guichan/include/guichan/graphics.hpp
+++ b/src/guichan/include/guichan/graphics.hpp
@@ -110,7 +110,7 @@ namespace gcn
*/
Graphics();
- A_DELETE_COPY(Graphics);
+ A_DELETE_COPY(Graphics)
/**
* Destructor.
diff --git a/src/guichan/include/guichan/gui.hpp b/src/guichan/include/guichan/gui.hpp
index 092e5c0fa..782983dd4 100644
--- a/src/guichan/include/guichan/gui.hpp
+++ b/src/guichan/include/guichan/gui.hpp
@@ -103,7 +103,7 @@ namespace gcn
*/
Gui();
- A_DELETE_COPY(Gui);
+ A_DELETE_COPY(Gui)
/**
* Destructor.
diff --git a/src/guichan/include/guichan/sdl/sdlgraphics.hpp b/src/guichan/include/guichan/sdl/sdlgraphics.hpp
index 08532939b..092d58de3 100644
--- a/src/guichan/include/guichan/sdl/sdlgraphics.hpp
+++ b/src/guichan/include/guichan/sdl/sdlgraphics.hpp
@@ -71,7 +71,7 @@ namespace gcn
*/
SDLGraphics();
- A_DELETE_COPY(SDLGraphics);
+ A_DELETE_COPY(SDLGraphics)
/**
* Sets the target SDL_Surface to draw to. The target can be any
diff --git a/src/guichan/include/guichan/widget.hpp b/src/guichan/include/guichan/widget.hpp
index 87d2868c3..26aef1d0d 100644
--- a/src/guichan/include/guichan/widget.hpp
+++ b/src/guichan/include/guichan/widget.hpp
@@ -90,7 +90,7 @@ namespace gcn
*/
Widget();
- A_DELETE_COPY(Widget);
+ A_DELETE_COPY(Widget)
/**
* Default destructor.
diff --git a/src/guichan/include/guichan/widgets/button.hpp b/src/guichan/include/guichan/widgets/button.hpp
index 5c1b94443..90877cb17 100644
--- a/src/guichan/include/guichan/widgets/button.hpp
+++ b/src/guichan/include/guichan/widgets/button.hpp
@@ -85,7 +85,7 @@ namespace gcn
*/
Button(const std::string& caption);
- A_DELETE_COPY(Button);
+ A_DELETE_COPY(Button)
/**
* Sets the caption of the button. It's advisable to call
diff --git a/src/guichan/include/guichan/widgets/checkbox.hpp b/src/guichan/include/guichan/widgets/checkbox.hpp
index 68cf949d0..d59eb44a2 100644
--- a/src/guichan/include/guichan/widgets/checkbox.hpp
+++ b/src/guichan/include/guichan/widgets/checkbox.hpp
@@ -83,7 +83,7 @@ namespace gcn
*/
CheckBox(const std::string &caption, bool selected = false);
- A_DELETE_COPY(CheckBox);
+ A_DELETE_COPY(CheckBox)
/**
* Destructor.
diff --git a/src/guichan/include/guichan/widgets/dropdown.hpp b/src/guichan/include/guichan/widgets/dropdown.hpp
index ed955dc2c..0bdec632c 100644
--- a/src/guichan/include/guichan/widgets/dropdown.hpp
+++ b/src/guichan/include/guichan/widgets/dropdown.hpp
@@ -99,7 +99,7 @@ namespace gcn
ScrollArea *const scrollArea = nullptr,
ListBox *const listBox = nullptr);
- A_DELETE_COPY(DropDown);
+ A_DELETE_COPY(DropDown)
/**
* Destructor.
diff --git a/src/guichan/include/guichan/widgets/label.hpp b/src/guichan/include/guichan/widgets/label.hpp
index d5b2ed9f5..473f6e530 100644
--- a/src/guichan/include/guichan/widgets/label.hpp
+++ b/src/guichan/include/guichan/widgets/label.hpp
@@ -72,7 +72,7 @@ namespace gcn
*/
Label(const std::string& caption);
- A_DELETE_COPY(Label);
+ A_DELETE_COPY(Label)
/**
* Gets the caption of the label.
diff --git a/src/guichan/include/guichan/widgets/listbox.hpp b/src/guichan/include/guichan/widgets/listbox.hpp
index 2e8e56d52..b007c3b88 100644
--- a/src/guichan/include/guichan/widgets/listbox.hpp
+++ b/src/guichan/include/guichan/widgets/listbox.hpp
@@ -86,7 +86,7 @@ namespace gcn
*/
ListBox(ListModel *listModel);
- A_DELETE_COPY(ListBox);
+ A_DELETE_COPY(ListBox)
/**
* Destructor.
diff --git a/src/guichan/include/guichan/widgets/radiobutton.hpp b/src/guichan/include/guichan/widgets/radiobutton.hpp
index 44e1a5eab..c9acfa4f4 100644
--- a/src/guichan/include/guichan/widgets/radiobutton.hpp
+++ b/src/guichan/include/guichan/widgets/radiobutton.hpp
@@ -89,7 +89,7 @@ namespace gcn
const std::string &group,
bool selected = false);
- A_DELETE_COPY(RadioButton);
+ A_DELETE_COPY(RadioButton)
/**
* Destructor.
diff --git a/src/guichan/include/guichan/widgets/scrollarea.hpp b/src/guichan/include/guichan/widgets/scrollarea.hpp
index 1a116ce50..fd7461665 100644
--- a/src/guichan/include/guichan/widgets/scrollarea.hpp
+++ b/src/guichan/include/guichan/widgets/scrollarea.hpp
@@ -105,7 +105,7 @@ namespace gcn
ScrollPolicy hPolicy,
ScrollPolicy vPolicy);
- A_DELETE_COPY(ScrollArea);
+ A_DELETE_COPY(ScrollArea)
/**
* Destructor.
diff --git a/src/guichan/include/guichan/widgets/slider.hpp b/src/guichan/include/guichan/widgets/slider.hpp
index 57d517f99..44a2ea296 100644
--- a/src/guichan/include/guichan/widgets/slider.hpp
+++ b/src/guichan/include/guichan/widgets/slider.hpp
@@ -91,7 +91,7 @@ namespace gcn
*/
Slider(const double scaleStart, const double scaleEnd);
- A_DELETE_COPY(Slider);
+ A_DELETE_COPY(Slider)
/**
* Destructor.
diff --git a/src/guichan/include/guichan/widgets/textbox.hpp b/src/guichan/include/guichan/widgets/textbox.hpp
index 8a5f61fa7..e220bf46a 100644
--- a/src/guichan/include/guichan/widgets/textbox.hpp
+++ b/src/guichan/include/guichan/widgets/textbox.hpp
@@ -77,7 +77,7 @@ namespace gcn
*/
TextBox(const std::string& text);
- A_DELETE_COPY(TextBox);
+ A_DELETE_COPY(TextBox)
/**
* Sets the text of the text box.
diff --git a/src/guichan/include/guichan/widgets/textfield.hpp b/src/guichan/include/guichan/widgets/textfield.hpp
index e301b6d1f..9c2fde894 100644
--- a/src/guichan/include/guichan/widgets/textfield.hpp
+++ b/src/guichan/include/guichan/widgets/textfield.hpp
@@ -76,7 +76,7 @@ namespace gcn
*/
TextField(const std::string& text);
- A_DELETE_COPY(TextField);
+ A_DELETE_COPY(TextField)
/**
* Sets the text of the text field.
diff --git a/src/guichan/include/guichan/widgets/window.hpp b/src/guichan/include/guichan/widgets/window.hpp
index 68438b421..ddaf9f8ce 100644
--- a/src/guichan/include/guichan/widgets/window.hpp
+++ b/src/guichan/include/guichan/widgets/window.hpp
@@ -73,7 +73,7 @@ namespace gcn
*/
Window(const std::string& caption);
- A_DELETE_COPY(Window);
+ A_DELETE_COPY(Window)
/**
* Destructor.