summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 19:42:32 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commit639084d63d6b135b880c71e50b9a66fbe8fc31d7 (patch)
treef8adaf576c65afaae892ebbb0312a795699f044f
parent28c77c80254b05f40674d2a75a86b193241a742c (diff)
downloadmv-639084d63d6b135b880c71e50b9a66fbe8fc31d7.tar.gz
mv-639084d63d6b135b880c71e50b9a66fbe8fc31d7.tar.bz2
mv-639084d63d6b135b880c71e50b9a66fbe8fc31d7.tar.xz
mv-639084d63d6b135b880c71e50b9a66fbe8fc31d7.zip
change popup constructor into explicit.
-rw-r--r--src/gui/widgets/popup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/popup.h b/src/gui/widgets/popup.h
index 4f59978ce..3f503432b 100644
--- a/src/gui/widgets/popup.h
+++ b/src/gui/widgets/popup.h
@@ -57,8 +57,8 @@ class Popup : public Container, public gcn::MouseListener,
* debugging purposes.
* @param skin The location where the Popup's skin XML can be found.
*/
- Popup(const std::string &name = "",
- std::string skin = "");
+ explicit Popup(const std::string &name = "",
+ std::string skin = "");
A_DELETE_COPY(Popup)