summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game.h b/src/game.h
index 1d5a0b9a8..ceebe1e09 100644
--- a/src/game.h
+++ b/src/game.h
@@ -92,10 +92,10 @@ class Game final
/**
* Returns the currently active map.
*/
- Map *getCurrentMap() const A_WARN_UNUSED
+ Map *getCurrentMap() const noexcept2 A_WARN_UNUSED
{ return mCurrentMap; }
- const std::string &getCurrentMapName() const A_WARN_UNUSED
+ const std::string &getCurrentMapName() const noexcept2 A_WARN_UNUSED
{ return mMapName; }
void setValidSpeed();
@@ -109,7 +109,7 @@ class Game final
static void videoResized(const int width, const int height);
- bool getValidSpeed() const A_WARN_UNUSED
+ bool getValidSpeed() const noexcept2 A_WARN_UNUSED
{ return mValidSpeed; }
static void moveInDirection(const unsigned char direction);