forked from ShuriZma/suyu
1
0
Fork 0

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

This commit is contained in:
bunnei 2021-08-07 12:33:31 -07:00
parent 9e3d1d865c
commit 5060a97210
1 changed files with 1 additions and 1 deletions

View File

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