Ver Fonte

game_list_worker: Explicit caputure of 'this'

Merry há 2 anos atrás
pai
commit
b088a448cd
1 ficheiros alterados com 1 adições e 1 exclusões
  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();
 }