mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
threading: HasLock const function
This commit is contained in:
@@ -52,7 +52,7 @@ class TryScopedLock
|
||||
~TryScopedLock()
|
||||
{ if(m_Owned) m_CS->Unlock(); }
|
||||
|
||||
bool HasLock()
|
||||
bool HasLock() const
|
||||
{
|
||||
return m_Owned;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user