Просмотр исходного кода

video_core/gpu_thread: Amend constructor initializer list order

Moves the data members to satisfy the order they're declared as in the
constructor initializer list.

Silences a -Wreorder warning.
Lioncash 7 лет назад
Родитель
Сommit
48a461a629
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/video_core/gpu_thread.h

+ 2 - 2
src/video_core/gpu_thread.h

@@ -127,10 +127,10 @@ private:
 
 private:
     SynchState state;
-    std::thread thread;
-    std::thread::id thread_id;
     VideoCore::RendererBase& renderer;
     Tegra::DmaPusher& dma_pusher;
+    std::thread thread;
+    std::thread::id thread_id;
 };
 
 } // namespace VideoCommon::GPUThread