summaryrefslogtreecommitdiff
path: root/src/gui/textpopup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/textpopup.h')
-rw-r--r--src/gui/textpopup.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gui/textpopup.h b/src/gui/textpopup.h
index b12d4475..b1c6b2b3 100644
--- a/src/gui/textpopup.h
+++ b/src/gui/textpopup.h
@@ -41,13 +41,9 @@ class TextPopup : public Popup
/**
* Sets the text to be displayed.
*/
- void show(int x, int y, const std::string &str1)
- { show(x, y, str1, (const char*)""); }
-
- /**
- * Sets the text to be displayed.
- */
- void show(int x, int y, const std::string &str1, const std::string &str2);
+ void show(int x, int y,
+ const std::string &str1,
+ const std::string &str2 = std::string());
void mouseMoved(gcn::MouseEvent &mouseEvent) override;