diff options
author | bunnei <bunneidev@gmail.com> | 2021-11-21 11:29:53 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-12-07 01:39:17 +0100 |
commit | 8f4ff06c4cf807ff68619eb69cc69dc20659d6d6 (patch) | |
tree | 37729ddb9aaac49204cf773b2c685b676ab4de46 /src/core/hle/kernel/k_thread.h | |
parent | hle: kernel: KProcess: Improvements for thread pinning. (diff) | |
download | yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar.gz yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar.bz2 yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar.lz yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar.xz yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.tar.zst yuzu-8f4ff06c4cf807ff68619eb69cc69dc20659d6d6.zip |
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
-rw-r--r-- | src/core/hle/kernel/k_thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index 6d68c2399..1cde71e89 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -199,7 +199,7 @@ public: synced_index = index; } - constexpr s32 GetSyncedIndex() const { + [[nodiscard]] constexpr s32 GetSyncedIndex() const { return synced_index; } @@ -207,7 +207,7 @@ public: wait_result = wait_res; } - constexpr ResultCode GetWaitResult() const { + [[nodiscard]] constexpr ResultCode GetWaitResult() const { return wait_result; } |