diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 19:39:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:21 +0300 |
commit | 28c77c80254b05f40674d2a75a86b193241a742c (patch) | |
tree | 9a9c717ad01b88ac4a943d4cc4cb6ec853d7934b | |
parent | 5f809ab7661b5fa5569abb2c7fd3ed23e24070b3 (diff) | |
download | manaverse-28c77c80254b05f40674d2a75a86b193241a742c.tar.gz manaverse-28c77c80254b05f40674d2a75a86b193241a742c.tar.bz2 manaverse-28c77c80254b05f40674d2a75a86b193241a742c.tar.xz manaverse-28c77c80254b05f40674d2a75a86b193241a742c.zip |
change playerbox constructors into explicit.
-rw-r--r-- | src/gui/widgets/playerbox.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/playerbox.h b/src/gui/widgets/playerbox.h index 1f627a7a0..5b53d4b96 100644 --- a/src/gui/widgets/playerbox.h +++ b/src/gui/widgets/playerbox.h @@ -45,11 +45,11 @@ class PlayerBox final : public Widget2, * Constructor. Takes the initial player character that this box should * display, which defaults to <code>NULL</code>. */ - PlayerBox(Being *const being, const std::string &skin = "", - const std::string &selectedSkin = ""); + explicit PlayerBox(Being *const being, const std::string &skin = "", + const std::string &selectedSkin = ""); - PlayerBox(const std::string &skin = "", - const std::string &selectedSkin = ""); + explicit PlayerBox(const std::string &skin = "", + const std::string &selectedSkin = ""); A_DELETE_COPY(PlayerBox) |