summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2020-04-15 13:28:28 -0400
committerGravatar Lioncash2020-04-15 14:14:41 -0400
commit213fff67bcca6894602232bf721adf0b590bfcdf (patch)
tree7be77cfd49e35ede430a15a086d8957042c39273 /src/core/hle/kernel/kernel.cpp
parentMerge pull request #3662 from ReinUsesLisp/constant-attrs (diff)
downloadyuzu-213fff67bcca6894602232bf721adf0b590bfcdf.tar.gz
yuzu-213fff67bcca6894602232bf721adf0b590bfcdf.tar.xz
yuzu-213fff67bcca6894602232bf721adf0b590bfcdf.zip
CMakeLists: Make -Wreorder a compile-time error
This can result in silent logic bugs within code, and given the amount of times these kind of warnings are caused, they should be flagged at compile-time so no new code is submitted with them.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r--src/core/hle/kernel/kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index e47f1deed..014d647cf 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -103,7 +103,7 @@ static void ThreadWakeupCallback(u64 thread_handle, [[maybe_unused]] s64 cycles_
103 103
104struct KernelCore::Impl { 104struct KernelCore::Impl {
105 explicit Impl(Core::System& system, KernelCore& kernel) 105 explicit Impl(Core::System& system, KernelCore& kernel)
106 : system{system}, global_scheduler{kernel}, synchronization{system}, time_manager{system} {} 106 : global_scheduler{kernel}, synchronization{system}, time_manager{system}, system{system} {}
107 107
108 void Initialize(KernelCore& kernel) { 108 void Initialize(KernelCore& kernel) {
109 Shutdown(); 109 Shutdown();