summaryrefslogtreecommitdiff
path: root/src/gui/widgets/containerplacer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-25 06:12:48 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-25 06:12:48 +0300
commitf55baadfeb6245899497cd472f65f23e905481b9 (patch)
treed5d3dfa758d9d46cf91bc81e0190ee67c7bc48e7 /src/gui/widgets/containerplacer.h
parent52039744fa2e5e116548e5236cd8ba5f5d81702a (diff)
downloadmanaverse-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.h8
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;