@@ -53,7 +53,7 @@ void LeaveCritical();
5353void CheckLastCritical (void * cs, std::string& lockname, const char * guardname, const char * file, int line);
5454std::string LocksHeld ();
5555template <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);
5757void AssertLockNotHeldInternal (const char * pszName, const char * pszFile, int nLine, void * cs);
5858void DeleteLock (void * cs);
5959bool LockStackEmpty ();
@@ -69,7 +69,7 @@ inline void EnterCritical(const char* pszName, const char* pszFile, int nLine, v
6969inline void LeaveCritical () {}
7070inline void CheckLastCritical (void * cs, std::string& lockname, const char * guardname, const char * file, int line) {}
7171template <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) {}
7373inline void AssertLockNotHeldInternal (const char * pszName, const char * pszFile, int nLine, void * cs) {}
7474inline void DeleteLock (void * cs) {}
7575inline bool LockStackEmpty () { return true ; }
0 commit comments