From dc6222611ad14a33f642396558ba84ecba9d6605 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 14 Mar 2022 18:02:18 +0100 Subject: perf: add noexcept almost everywhere --- src/game/game.cpp | 2 +- src/game/game.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game') 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 { public: - Game() = default; + Game() noexcept = default; - void run() override; + void run() noexcept override; }; -- cgit v1.2.3-18-g5258