k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()
This function has a void return value, so this attribute doesn't apply to it.
This commit is contained in:
parent
26d60014d0
commit
0fb3773924
|
@ -402,7 +402,7 @@ public:
|
|||
return wait_cancelled;
|
||||
}
|
||||
|
||||
[[nodiscard]] void ClearWaitCancelled() {
|
||||
void ClearWaitCancelled() {
|
||||
wait_cancelled = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue