diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 20:45:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:21 +0300 |
commit | 86e6567d0849211f3dae3ed9d60d24b2de8565e5 (patch) | |
tree | 7241ccbcd22f0622b6a151e77b882474b32838d9 /src/gui | |
parent | b9b33ea97c22015e8bb8059467364110e68b613e (diff) | |
download | manaverse-86e6567d0849211f3dae3ed9d60d24b2de8565e5.tar.gz manaverse-86e6567d0849211f3dae3ed9d60d24b2de8565e5.tar.bz2 manaverse-86e6567d0849211f3dae3ed9d60d24b2de8565e5.tar.xz manaverse-86e6567d0849211f3dae3ed9d60d24b2de8565e5.zip |
change constructors in scrollarea into explicit.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/scrollarea.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h index 4c4b3f4a9..eeb709768 100644 --- a/src/gui/widgets/scrollarea.h +++ b/src/gui/widgets/scrollarea.h @@ -51,15 +51,16 @@ class ScrollArea final : public gcn::ScrollArea, * Constructor that takes no content. Needed for use with the DropDown * class. */ - ScrollArea(const bool opaque = true, const std::string &skin = ""); + explicit ScrollArea(const bool opaque = true, + const std::string &skin = ""); /** * Constructor. * * @param content the initial content to show in the scroll area */ - ScrollArea(gcn::Widget *const widget, const bool opaque = true, - const std::string &skin = ""); + explicit ScrollArea(gcn::Widget *const widget, const bool opaque = true, + const std::string &skin = ""); A_DELETE_COPY(ScrollArea) |