summaryrefslogtreecommitdiff
path: root/src/gui/widgets/layout.h
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 /src/gui/widgets/layout.h
parent9bc3ae99034188e5f5927d9fb47040c6cd34892c (diff)
downloadmanaplus-0e316e6ce75b3dca91a824b050410804441f593e.tar.gz
manaplus-0e316e6ce75b3dca91a824b050410804441f593e.tar.bz2
manaplus-0e316e6ce75b3dca91a824b050410804441f593e.tar.xz
manaplus-0e316e6ce75b3dca91a824b050410804441f593e.zip
add explicit in constructor in layout.
Diffstat (limited to 'src/gui/widgets/layout.h')
-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)
{}