mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-20 10:24:58 +00:00
semaphore: Fix returned iterator from AddWaiter (#1614)
This commit is contained in:
parent
bd3371bdfb
commit
57a3c0132d
1 changed files with 1 additions and 2 deletions
|
@ -165,8 +165,7 @@ public:
|
|||
while (it != wait_list.end() && (*it)->priority > waiter->priority) {
|
||||
++it;
|
||||
}
|
||||
wait_list.insert(it, waiter);
|
||||
return it;
|
||||
return wait_list.insert(it, waiter);
|
||||
}
|
||||
|
||||
WaitList wait_list;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue