This commit is contained in:
chatlanin 2023-05-10 22:07:38 +03:00
parent 5e74690e49
commit d45bbd84cf

View File

@ -21,7 +21,7 @@ namespace try_engine::app_event
for (const auto layer : l_stack) for (const auto layer : l_stack)
{ {
std::thread th { std::thread th {
[&]() { [=]() {
layer->on_event(type, value); layer->on_event(type, value);
} }
}; };