Răsfoiți Sursa

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 ani în urmă
părinte
comite
48a461a629
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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