summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h b/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h
index d1cc5dda7..2bb3817fa 100644
--- a/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h
+++ b/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h
@@ -16,12 +16,6 @@
namespace Kernel {
class KScopedSchedulerLockAndSleep {
-private:
- KernelCore& kernel;
- Handle& event_handle;
- Thread* thread{};
- s64 timeout_tick{};
-
public:
explicit KScopedSchedulerLockAndSleep(KernelCore& kernel, Handle& event_handle, Thread* t,
s64 timeout)
@@ -45,6 +39,12 @@ public:
void CancelSleep() {
this->timeout_tick = 0;
}
+
+private:
+ KernelCore& kernel;
+ Handle& event_handle;
+ Thread* thread{};
+ s64 timeout_tick{};
};
} // namespace Kernel