From a6739b53c776771e0f78be3bfa3f8ccbf850f7cb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Dec 2017 22:00:04 +0300 Subject: Remove default parameters from viewport.h --- src/progs/dyecmd/gui/viewport.h | 2 +- src/progs/manaplus/gui/viewport.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/progs') diff --git a/src/progs/dyecmd/gui/viewport.h b/src/progs/dyecmd/gui/viewport.h index 4b69a607c..756715afb 100644 --- a/src/progs/dyecmd/gui/viewport.h +++ b/src/progs/dyecmd/gui/viewport.h @@ -165,7 +165,7 @@ class Viewport final : public WindowContainer, */ void drawPath(Graphics *const graphics, const Path &path, - const Color &color = Color(255, 0, 0)) + const Color &color) const A_NONNULL(2); bool leftMouseAction(); diff --git a/src/progs/manaplus/gui/viewport.h b/src/progs/manaplus/gui/viewport.h index 62982fc89..ea12776c1 100644 --- a/src/progs/manaplus/gui/viewport.h +++ b/src/progs/manaplus/gui/viewport.h @@ -151,8 +151,8 @@ class Viewport final : public WindowContainer, { mCameraRelativeY = n; updateMidVars(); } void moveCameraToActor(const BeingId actorId, - const int x = 0, - const int y = 0); + const int x, + const int y); void moveCameraToPosition(const int x, const int y); @@ -191,7 +191,7 @@ class Viewport final : public WindowContainer, */ void drawPath(Graphics *const graphics, const Path &path, - const Color &color = Color(255, 0, 0)) + const Color &color) const A_NONNULL(2); bool leftMouseAction(); -- cgit v1.2.3-70-g09d2