Commit 6ce66e45 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Fix mutex lock

parent 7befc5b1
......@@ -112,7 +112,7 @@ class Cache
static bool discard( const typename CACHEPOLICY::KeyType& key )
{
std::lock_guard<std::mutex> lock( Mutex );
Lock lock( Mutex );
auto it = Store.find( key );
if ( it != Store.end() )
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment