From 28c77c80254b05f40674d2a75a86b193241a742c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 19:39:22 +0300 Subject: change playerbox constructors into explicit. --- src/gui/widgets/playerbox.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui') 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 NULL. */ - 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) -- cgit v1.2.3-70-g09d2