diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-03-27 12:35:31 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-03-27 12:37:53 -0400 |
| commit | a5fa4b311e3d68038d5a52411c9466f32b8c84cb (patch) | |
| tree | 15159963176b9e599f85000d76e05e8ebb0177cf /src/video_core/rasterizer_cache.h | |
| parent | 47f2405ab19f7bab9a1de6b6c8ccd9063cf0bd11 (diff) | |
video_core: Amend constructor initializer list order where applicable
Specifies the members in the same order that initialization would take
place in.
This also silences -Wreorder warnings.
Diffstat (limited to 'src/video_core/rasterizer_cache.h')
| -rw-r--r-- | src/video_core/rasterizer_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/rasterizer_cache.h b/src/video_core/rasterizer_cache.h index 9fc9f3056..110ad7d26 100644 --- a/src/video_core/rasterizer_cache.h +++ b/src/video_core/rasterizer_cache.h @@ -71,8 +71,8 @@ private: bool is_registered{}; ///< Whether the object is currently registered with the cache bool is_dirty{}; ///< Whether the object is dirty (out of sync with guest memory) u64 last_modified_ticks{}; ///< When the object was last modified, used for in-order flushing - CacheAddr cache_addr{}; ///< Cache address memory, unique from emulated virtual address space const u8* host_ptr{}; ///< Pointer to the memory backing this cached region + CacheAddr cache_addr{}; ///< Cache address memory, unique from emulated virtual address space }; template <class T> |
