Fix a currently unused unique_lock function. Thanks to Lioncash.
This commit is contained in:
1 parent
baa29f571c
commit
4f4aa4860d
1 file changed
+4
-1
@@ -318,9 +318,12 @@ public:
|
||||
|
||||
mutex_type* release()
|
||||
{
|
||||
return mutex();
|
||||
auto const ret = mutex();
|
||||
|
||||
pm = NULL;
|
||||
owns = false;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool owns_lock() const
|
||||
|
||||
Reference in new issue
Block a user