diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/k_thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index a149744c8..8bbf66c52 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h | |||
| @@ -773,7 +773,7 @@ public: | |||
| 773 | 773 | ||
| 774 | class KScopedDisableDispatch { | 774 | class KScopedDisableDispatch { |
| 775 | public: | 775 | public: |
| 776 | explicit KScopedDisableDispatch(KernelCore& kernel_) : kernel{kernel_} { | 776 | [[nodiscard]] explicit KScopedDisableDispatch(KernelCore& kernel_) : kernel{kernel_} { |
| 777 | GetCurrentThread(kernel).DisableDispatch(); | 777 | GetCurrentThread(kernel).DisableDispatch(); |
| 778 | } | 778 | } |
| 779 | 779 | ||