From 0e316e6ce75b3dca91a824b050410804441f593e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 15:58:11 +0300 Subject: add explicit in constructor in layout. --- src/gui/widgets/layout.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui') 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) {} -- cgit v1.2.3-60-g2f50