Browse Source

k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()

This function has a void return value, so this attribute doesn't apply
to it.
nce_cpp
Lioncash 5 years ago
parent
commit
a49970f85a
  1. 2
      src/core/hle/kernel/k_thread.h

2
src/core/hle/kernel/k_thread.h

@ -402,7 +402,7 @@ public:
return wait_cancelled; return wait_cancelled;
} }
[[nodiscard]] void ClearWaitCancelled() {
void ClearWaitCancelled() {
wait_cancelled = false; wait_cancelled = false;
} }

Loading…
Cancel
Save