aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/game.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/game.hpp')
-rw-r--r--src/interfaces/game.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/game.hpp b/src/interfaces/game.hpp
index 3e547f5..46d79e4 100644
--- a/src/interfaces/game.hpp
+++ b/src/interfaces/game.hpp
@@ -20,8 +20,8 @@ public:
virtual void on_exit() const noexcept = 0;
- [[nodiscard]] virtual std::unordered_map<char, std::shared_ptr<ICommand>>
- get_input_config() const noexcept = 0;
+ [[nodiscard]] virtual auto get_input_config() const noexcept
+ -> std::unordered_map<char, std::shared_ptr<ICommand>> = 0;
};
using IGameFactory = std::shared_ptr<IGame> (*)(