mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 22:30:05 +00:00
core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.
This commit is contained in:
parent
9e3d1d865c
commit
5060a97210
@ -773,7 +773,7 @@ public:
|
|||||||
|
|
||||||
class KScopedDisableDispatch {
|
class KScopedDisableDispatch {
|
||||||
public:
|
public:
|
||||||
explicit KScopedDisableDispatch(KernelCore& kernel_) : kernel{kernel_} {
|
[[nodiscard]] explicit KScopedDisableDispatch(KernelCore& kernel_) : kernel{kernel_} {
|
||||||
GetCurrentThread(kernel).DisableDispatch();
|
GetCurrentThread(kernel).DisableDispatch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user