Explorar o código

game_list_worker: Explicit caputure of 'this'

Merry %!s(int64=2) %!d(string=hai) anos
pai
achega
b088a448cd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/yuzu/game_list_worker.cpp

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