From d45bbd84cf015b4e81ba39bfabd50280949a3224 Mon Sep 17 00:00:00 2001 From: chatlanin Date: Wed, 10 May 2023 22:07:38 +0300 Subject: [PATCH] return --- src/try_engine/event/app_event/event.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/try_engine/event/app_event/event.hpp b/src/try_engine/event/app_event/event.hpp index de63065..4857903 100644 --- a/src/try_engine/event/app_event/event.hpp +++ b/src/try_engine/event/app_event/event.hpp @@ -21,7 +21,7 @@ namespace try_engine::app_event for (const auto layer : l_stack) { std::thread th { - [&]() { + [=]() { layer->on_event(type, value); } };