aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-14 18:02:18 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:56 +0200
commitdc6222611ad14a33f642396558ba84ecba9d6605 (patch)
treed759020233b66be62c5539209a03842d283b67a9 /src/game
parentdbab54ebf134b6ab2cf719d7c26a191fbffeed34 (diff)
perf: add noexcept almost everywhere
Diffstat (limited to 'src/game')
-rw-r--r--src/game/game.cpp2
-rw-r--r--src/game/game.hpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index dafa847..d7e9056 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -1,3 +1,3 @@
#include "game.hpp"
-void Game::run() {}
+void Game::run() noexcept {}
diff --git a/src/game/game.hpp b/src/game/game.hpp
index 2111026..110b1c8 100644
--- a/src/game/game.hpp
+++ b/src/game/game.hpp
@@ -6,7 +6,7 @@
class Game : public IGame, public AutoWirable<IGame, Game>
{
public:
- Game() = default;
+ Game() noexcept = default;
- void run() override;
+ void run() noexcept override;
};