From 1feb7f7edc5f8f383e594b256ef4cab0fae75b99 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Aug 2012 23:40:41 +0300 Subject: Add const to more classes. --- src/gui/textpopup.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/textpopup.h') diff --git a/src/gui/textpopup.h b/src/gui/textpopup.h index dd901d580..5e425abca 100644 --- a/src/gui/textpopup.h +++ b/src/gui/textpopup.h @@ -54,7 +54,7 @@ class TextPopup : public Popup /** * Sets the text to be displayed. */ - void show(int x, int y, const std::string &str1) + void show(const int x, const int y, const std::string &str1) { show(x, y, str1, static_cast(""), static_cast("")); @@ -63,14 +63,14 @@ class TextPopup : public Popup /** * Sets the text to be displayed. */ - void show(int x, int y, const std::string &str1, + void show(const int x, const int y, const std::string &str1, const std::string &str2) { show(x, y, str1, str2, static_cast("")); } /** * Sets the text to be displayed. */ - void show(int x, int y, const std::string &str1, + void show(const int x, const int y, const std::string &str1, const std::string &str2, const std::string &str3); void mouseMoved(gcn::MouseEvent &mouseEvent); -- cgit v1.2.3-60-g2f50