From f55baadfeb6245899497cd472f65f23e905481b9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Dec 2017 06:12:48 +0300 Subject: Remove default parameters from containerplacer. --- src/gui/widgets/containerplacer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/widgets/containerplacer.h') 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; -- cgit v1.2.3-70-g09d2