diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:12:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-25 06:12:48 +0300 |
commit | f55baadfeb6245899497cd472f65f23e905481b9 (patch) | |
tree | d5d3dfa758d9d46cf91bc81e0190ee67c7bc48e7 /src/gui/widgets/containerplacer.h | |
parent | 52039744fa2e5e116548e5236cd8ba5f5d81702a (diff) | |
download | manaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.gz manaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.bz2 manaverse-f55baadfeb6245899497cd472f65f23e905481b9.tar.xz manaverse-f55baadfeb6245899497cd472f65f23e905481b9.zip |
Remove default parameters from containerplacer.
Diffstat (limited to 'src/gui/widgets/containerplacer.h')
-rw-r--r-- | src/gui/widgets/containerplacer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/containerplacer.h b/src/gui/widgets/containerplacer.h index cd1e0221e..fa24b7720 100644 --- a/src/gui/widgets/containerplacer.h +++ b/src/gui/widgets/containerplacer.h @@ -35,8 +35,8 @@ class Widget; class ContainerPlacer final { public: - explicit ContainerPlacer(BasicContainer2 *const c = nullptr, - LayoutCell *const lc = nullptr) : + ContainerPlacer(BasicContainer2 *const c, + LayoutCell *const lc) : mContainer(c), mCell(lc) {} @@ -62,8 +62,8 @@ class ContainerPlacer final LayoutCell &operator()(const int x, const int y, Widget *const wg, - const int w = 1, - const int h = 1); + const int w, + const int h); private: BasicContainer2 *mContainer; |