diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-12 20:26:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-12 20:26:59 +0300 |
commit | bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 (patch) | |
tree | 4d631106f76ba8a052dc2ef8b23b8a968040db82 /src/dyetool/gui | |
parent | 67638eeec5267977940dce29c5a94ce4d093ed69 (diff) | |
download | manaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz manaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2 manaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz manaverse-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip |
Add noexcept in some files.
Diffstat (limited to 'src/dyetool/gui')
-rw-r--r-- | src/dyetool/gui/viewport.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dyetool/gui/viewport.h b/src/dyetool/gui/viewport.h index e5159976b..ab7b9710a 100644 --- a/src/dyetool/gui/viewport.h +++ b/src/dyetool/gui/viewport.h @@ -115,13 +115,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; } /** @@ -135,21 +135,21 @@ 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) + void setCameraRelativeX(const int n) noexcept2 { mCameraRelativeX = n; } - void setCameraRelativeY(const int n) + void setCameraRelativeY(const int n) noexcept2 { mCameraRelativeY = n; } void videoResized(); |