summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2021-04-12 10:17:35 -0400
committerGravatar Lioncash2021-04-12 10:17:38 -0400
commit0fb37739247988d43147e33db3448f0c09ffe047 (patch)
treef99254d03684b2b6f69522ceb7a16cd87a6ce16b /src
parentMerge pull request #6135 from Morph1984/borderless-windowed-fullscreen (diff)
downloadyuzu-0fb37739247988d43147e33db3448f0c09ffe047.tar.gz
yuzu-0fb37739247988d43147e33db3448f0c09ffe047.tar.xz
yuzu-0fb37739247988d43147e33db3448f0c09ffe047.zip
k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()
This function has a void return value, so this attribute doesn't apply to it.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h
index 1c86fdd20..b442dfe57 100644
--- a/src/core/hle/kernel/k_thread.h
+++ b/src/core/hle/kernel/k_thread.h
@@ -402,7 +402,7 @@ public:
402 return wait_cancelled; 402 return wait_cancelled;
403 } 403 }
404 404
405 [[nodiscard]] void ClearWaitCancelled() { 405 void ClearWaitCancelled() {
406 wait_cancelled = false; 406 wait_cancelled = false;
407 } 407 }
408 408