Explorar o código

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

This function has a void return value, so this attribute doesn't apply
to it.
Lioncash %!s(int64=5) %!d(string=hai) anos
pai
achega
0fb3773924
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/hle/kernel/k_thread.h

+ 1 - 1
src/core/hle/kernel/k_thread.h

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