Fix a currently unused unique_lock function. Thanks to Lioncash.

This commit is contained in:
Jordan Woyak 2013-01-08 16:50:09 -06:00
parent baa29f571c
commit 4f4aa4860d

View File

@ -318,9 +318,12 @@ public:
mutex_type* release()
{
return mutex();
auto const ret = mutex();
pm = NULL;
owns = false;
return ret;
}
bool owns_lock() const