summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/layout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/layout.h b/src/gui/widgets/layout.h
index 8a33f03f6..4830279bd 100644
--- a/src/gui/widgets/layout.h
+++ b/src/gui/widgets/layout.h
@@ -37,7 +37,8 @@ class LayoutCell;
class ContainerPlacer final
{
public:
- ContainerPlacer(gcn::Container *c = nullptr, LayoutCell *lc = nullptr):
+ explicit ContainerPlacer(gcn::Container *c = nullptr,
+ LayoutCell *lc = nullptr) :
mContainer(c), mCell(lc)
{}