Jelajahi Sumber

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 tahun lalu
induk
melakukan
48a461a629
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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