From c430b75e370a21a17f80d4ba3acd84111828a462 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Sep 2013 20:08:44 +0300 Subject: add const for methods return values. --- src/gui/viewport.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/gui/viewport.h') diff --git a/src/gui/viewport.h b/src/gui/viewport.h index 3d491e9c2..45b5fd753 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -229,12 +229,6 @@ class Viewport final : public WindowContainer, void scrollBy(const int x, const int y) { mPixelViewX += x; mPixelViewY += y; } - /** - * Returns the current map object. - */ - Map *getCurrentMap() const A_WARN_UNUSED - { return mMap; } - int getDebugPath() const A_WARN_UNUSED { return mShowDebugPath; } -- cgit v1.2.3-70-g09d2