aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/engine/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp
index 4ac6a37..8b55d88 100644
--- a/src/engine/engine.cpp
+++ b/src/engine/engine.cpp
@@ -41,7 +41,7 @@ void CLIGameEngine::start() noexcept
_configure_input(game->get_input_config());
- std::thread listen_input_thread(normalize_lambda(
+ auto listen_input_thread = std::thread(normalize_lambda(
[this]()
{
_input_handler->listen();