From bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Dec 2016 20:26:59 +0300 Subject: Add noexcept in some files. --- src/game.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game.h') 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); -- cgit v1.2.3-70-g09d2