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 | |
parent | 9bc3ae99034188e5f5927d9fb47040c6cd34892c (diff) | |
download | ManaVerse-0e316e6ce75b3dca91a824b050410804441f593e.tar.gz ManaVerse-0e316e6ce75b3dca91a824b050410804441f593e.tar.bz2 ManaVerse-0e316e6ce75b3dca91a824b050410804441f593e.tar.xz ManaVerse-0e316e6ce75b3dca91a824b050410804441f593e.zip |
add explicit in constructor in layout.
Diffstat (limited to 'src')
-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) {} |