core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.
This commit is contained in:
		| @@ -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(); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user