@@ -53,7 +53,7 @@ void LeaveCritical();
53
53
void CheckLastCritical (void * cs, std::string& lockname, const char * guardname, const char * file, int line);
54
54
std::string LocksHeld ();
55
55
template <typename MutexType>
56
- void AssertLockHeldInternal (const char * pszName, const char * pszFile, int nLine, MutexType* cs) ASSERT_EXCLUSIVE_LOCK(cs) ;
56
+ void AssertLockHeldInternal (const char * pszName, const char * pszFile, int nLine, MutexType* cs);
57
57
void AssertLockNotHeldInternal (const char * pszName, const char * pszFile, int nLine, void * cs);
58
58
void DeleteLock (void * cs);
59
59
bool LockStackEmpty ();
@@ -69,7 +69,7 @@ inline void EnterCritical(const char* pszName, const char* pszFile, int nLine, v
69
69
inline void LeaveCritical () {}
70
70
inline void CheckLastCritical (void * cs, std::string& lockname, const char * guardname, const char * file, int line) {}
71
71
template <typename MutexType>
72
- inline void AssertLockHeldInternal (const char * pszName, const char * pszFile, int nLine, MutexType* cs) ASSERT_EXCLUSIVE_LOCK(cs) {}
72
+ inline void AssertLockHeldInternal (const char * pszName, const char * pszFile, int nLine, MutexType* cs) {}
73
73
inline void AssertLockNotHeldInternal (const char * pszName, const char * pszFile, int nLine, void * cs) {}
74
74
inline void DeleteLock (void * cs) {}
75
75
inline bool LockStackEmpty () { return true ; }
0 commit comments