mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Fix a currently unused unique_lock function. Thanks to Lioncash.
This commit is contained in:
parent
baa29f571c
commit
4f4aa4860d
1 changed files with 4 additions and 1 deletions
|
@ -318,9 +318,12 @@ public:
|
|||
|
||||
mutex_type* release()
|
||||
{
|
||||
return mutex();
|
||||
auto const ret = mutex();
|
||||
|
||||
pm = NULL;
|
||||
owns = false;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool owns_lock() const
|
||||
|
|
Loading…
Add table
Reference in a new issue