diff options
| author | 2019-03-07 16:05:46 -0500 | |
|---|---|---|
| committer | 2019-03-07 16:05:49 -0500 | |
| commit | 48a461a629e60079c505140b93cfbfa60ac9192d (patch) | |
| tree | 572132d5fcc479d393913b40383f18c2609e41e2 | |
| parent | Merge pull request #2196 from DarkLordZach/web-applet-esc (diff) | |
| download | yuzu-48a461a629e60079c505140b93cfbfa60ac9192d.tar.gz yuzu-48a461a629e60079c505140b93cfbfa60ac9192d.tar.xz yuzu-48a461a629e60079c505140b93cfbfa60ac9192d.zip | |
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.
| -rw-r--r-- | src/video_core/gpu_thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index 2ad8214cc..cedd9447b 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h | |||
| @@ -127,10 +127,10 @@ private: | |||
| 127 | 127 | ||
| 128 | private: | 128 | private: |
| 129 | SynchState state; | 129 | SynchState state; |
| 130 | std::thread thread; | ||
| 131 | std::thread::id thread_id; | ||
| 132 | VideoCore::RendererBase& renderer; | 130 | VideoCore::RendererBase& renderer; |
| 133 | Tegra::DmaPusher& dma_pusher; | 131 | Tegra::DmaPusher& dma_pusher; |
| 132 | std::thread thread; | ||
| 133 | std::thread::id thread_id; | ||
| 134 | }; | 134 | }; |
| 135 | 135 | ||
| 136 | } // namespace VideoCommon::GPUThread | 136 | } // namespace VideoCommon::GPUThread |