Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

game_list_worker: Explicit caputure of 'this'

Merry2550b70226cd
diff --git a/src/yuzu/game_list_worker.cpp b/src/yuzu/game_list_worker.cpp
index 69be210277..307eac02d4 100644
--- a/src/yuzu/game_list_worker.cpp
+++ b/src/yuzu/game_list_worker.cpp
@@ -479,6 +479,6 @@ void GameListWorker::run() {
}
}
- RecordEvent([=](GameList* game_list) { game_list->DonePopulating(watch_list); });
+ RecordEvent([this](GameList* game_list) { game_list->DonePopulating(watch_list); });
processing_completed.Set();
}