From a039c8ad36779903571419cb06cd052f8fc41512 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 29 Mar 2022 17:40:04 +0200 Subject: refactor: use trailing return types --- src/game/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/game.cpp') diff --git a/src/game/game.cpp b/src/game/game.cpp index 6632c08..88b9584 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -57,8 +57,8 @@ void Game::on_exit() const noexcept std::cout.flush(); } -std::unordered_map> -Game::get_input_config() const noexcept +auto Game::get_input_config() const noexcept + -> std::unordered_map> { return {{'q', std::make_shared()}, {'i', std::make_shared(_cursor_controller, _scene)}, -- cgit v1.2.3-18-g5258