summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 15:58:11 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:20 +0300
commit0e316e6ce75b3dca91a824b050410804441f593e (patch)
tree0f009b4f00253f4638092092574455f8938c199c
parent9bc3ae99034188e5f5927d9fb47040c6cd34892c (diff)
downloadplus-0e316e6ce75b3dca91a824b050410804441f593e.tar.gz
plus-0e316e6ce75b3dca91a824b050410804441f593e.tar.bz2
plus-0e316e6ce75b3dca91a824b050410804441f593e.tar.xz
plus-0e316e6ce75b3dca91a824b050410804441f593e.zip
add explicit in constructor in layout.
-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)
{}