mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-16 15:55:30 +00:00
core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.
This commit is contained in:
parent
08c63d5c75
commit
d14b8fc747
|
@ -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…
Reference in a new issue