ソースを参照

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 年 前
コミット
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