Эх сурвалжийг харах

game_list_worker: Explicit caputure of 'this'

Merry 2 жил өмнө
parent
commit
b088a448cd

+ 1 - 1
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();
 }