summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_condition_variable.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-10 05:15:00 +0200
committerGitHub <noreply@github.com>2021-05-10 05:15:00 +0200
commitec50a9b5b9882940a2e107889d3d909b57603626 (patch)
tree884bc2b18f440ec3058ac546718d315bf1970ad3 /src/core/hle/kernel/k_condition_variable.cpp
parentMerge pull request #6294 from german77/kernelCleanup (diff)
parentkernel: Eliminate variable shadowing (diff)
downloadyuzu-ec50a9b5b9882940a2e107889d3d909b57603626.tar
yuzu-ec50a9b5b9882940a2e107889d3d909b57603626.tar.gz
yuzu-ec50a9b5b9882940a2e107889d3d909b57603626.tar.bz2
yuzu-ec50a9b5b9882940a2e107889d3d909b57603626.tar.lz
yuzu-ec50a9b5b9882940a2e107889d3d909b57603626.tar.xz
yuzu-ec50a9b5b9882940a2e107889d3d909b57603626.tar.zst
yuzu-ec50a9b5b9882940a2e107889d3d909b57603626.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/k_condition_variable.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_condition_variable.cpp b/src/core/hle/kernel/k_condition_variable.cpp
index f51cf3e7b..ce3bade60 100644
--- a/src/core/hle/kernel/k_condition_variable.cpp
+++ b/src/core/hle/kernel/k_condition_variable.cpp
@@ -254,8 +254,7 @@ void KConditionVariable::Signal(u64 cv_key, s32 count) {
}
// Close threads in the list.
- for (auto it = thread_list.begin(); it != thread_list.end();
- it = thread_list.erase(kernel, it)) {
+ for (auto it = thread_list.begin(); it != thread_list.end(); it = thread_list.erase(it)) {
(*it).Close();
}
}