فهرست منبع

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