From 0fb37739247988d43147e33db3448f0c09ffe047 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 12 Apr 2021 10:17:35 -0400 Subject: [PATCH] k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled() This function has a void return value, so this attribute doesn't apply to it. --- src/core/hle/kernel/k_thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index 1c86fdd203..b442dfe577 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -402,7 +402,7 @@ public: return wait_cancelled; } - [[nodiscard]] void ClearWaitCancelled() { + void ClearWaitCancelled() { wait_cancelled = false; }