Use standard naming for try_lock() in NonRecursiveBenaphore.

This commit is contained in:
Bartosz Taudul
2018-08-20 21:37:55 +02:00
parent def6c674b2
commit afee61a2cf

View File

@@ -44,7 +44,7 @@ public:
}
}
bool tryLock()
bool try_lock()
{
if (m_contentionCount.load(std::memory_order_relaxed) != 0)
return false;