summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r--src/gui/viewport.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index cbe48c7c4..c063742a2 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -122,13 +122,13 @@ class Viewport final : public WindowContainer,
/**
* Returns camera x offset in pixels.
*/
- int getCameraX() const A_WARN_UNUSED
+ int getCameraX() const noexcept2 A_WARN_UNUSED
{ return mPixelViewX; }
/**
* Returns camera y offset in pixels.
*/
- int getCameraY() const A_WARN_UNUSED
+ int getCameraY() const noexcept2 A_WARN_UNUSED
{ return mPixelViewY; }
/**
@@ -142,15 +142,15 @@ class Viewport final : public WindowContainer,
*/
void cleanHoverItems();
- Map *getMap() const A_WARN_UNUSED
+ Map *getMap() const noexcept2 A_WARN_UNUSED
{ return mMap; }
void moveCamera(const int dx, const int dy);
- int getCameraRelativeX() const A_WARN_UNUSED
+ int getCameraRelativeX() const noexcept2 A_WARN_UNUSED
{ return mCameraRelativeX; }
- int getCameraRelativeY() const A_WARN_UNUSED
+ int getCameraRelativeY() const noexcept2 A_WARN_UNUSED
{ return mCameraRelativeY; }
void setCameraRelativeX(const int n)