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/game.h | |
parent | 67638eeec5267977940dce29c5a94ce4d093ed69 (diff) | |
download | plus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz plus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2 plus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz plus-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip |
Add noexcept in some files.
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 6 |
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); |