diff options
-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) |