mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 06:39:33 +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()
|
mutex_type* release()
|
||||||
{
|
{
|
||||||
return mutex();
|
auto const ret = mutex();
|
||||||
|
|
||||||
pm = NULL;
|
pm = NULL;
|
||||||
owns = false;
|
owns = false;
|
||||||
|
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool owns_lock() const
|
bool owns_lock() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue