Browse Source

core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.

nce_cpp
bunnei 4 years ago
parent
commit
a3dd417cbf
  1. 2
      src/core/hle/kernel/k_thread.h

2
src/core/hle/kernel/k_thread.h

@ -773,7 +773,7 @@ public:
class KScopedDisableDispatch {
public:
explicit KScopedDisableDispatch(KernelCore& kernel_) : kernel{kernel_} {
[[nodiscard]] explicit KScopedDisableDispatch(KernelCore& kernel_) : kernel{kernel_} {
GetCurrentThread(kernel).DisableDispatch();
}

Loading…
Cancel
Save