فهرست منبع

Merge pull request #6192 from lioncash/discard

k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()
bunnei 5 سال پیش
والد
کامیت
8e7734bf40
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;
     }