diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 15:58:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | 0e316e6ce75b3dca91a824b050410804441f593e (patch) | |
tree | 0f009b4f00253f4638092092574455f8938c199c /src/gui/widgets | |
parent | 9bc3ae99034188e5f5927d9fb47040c6cd34892c (diff) | |
download | manaplus-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')
-rw-r--r-- | src/gui/widgets/layout.h | 3 |
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) {} |