diff options
author | Lioncash <mathew1800@gmail.com> | 2021-05-08 18:11:36 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-05-08 18:33:26 +0200 |
commit | 2f62bae9e3bbdd80cd374aaf0b93890e937d5b3d (patch) | |
tree | da5cbd25dcb367559c1bf619a7438fa1e18ff600 /src/core/hle/kernel/k_condition_variable.cpp | |
parent | Merge pull request #6266 from bunnei/kautoobject-refactor (diff) | |
download | yuzu-2f62bae9e3bbdd80cd374aaf0b93890e937d5b3d.tar yuzu-2f62bae9e3bbdd80cd374aaf0b93890e937d5b3d.tar.gz yuzu-2f62bae9e3bbdd80cd374aaf0b93890e937d5b3d.tar.bz2 yuzu-2f62bae9e3bbdd80cd374aaf0b93890e937d5b3d.tar.lz yuzu-2f62bae9e3bbdd80cd374aaf0b93890e937d5b3d.tar.xz yuzu-2f62bae9e3bbdd80cd374aaf0b93890e937d5b3d.tar.zst yuzu-2f62bae9e3bbdd80cd374aaf0b93890e937d5b3d.zip |
Diffstat (limited to 'src/core/hle/kernel/k_condition_variable.cpp')
-rw-r--r-- | src/core/hle/kernel/k_condition_variable.cpp | 3 |
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(); } } |