Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -37,7 +37,7 @@ protected:
void writeLockImpl();
bool tryWriteLockImpl();
void unlockImpl();
private:
pthread_mutex_t _mutex;
};
@@ -48,7 +48,7 @@ private:
//
inline void RWLockImpl::readLockImpl()
{
if (pthread_mutex_lock(&_mutex))
if (pthread_mutex_lock(&_mutex))
throw SystemException("cannot lock reader/writer lock");
}
@@ -67,7 +67,7 @@ inline bool RWLockImpl::tryReadLockImpl()
inline void RWLockImpl::writeLockImpl()
{
if (pthread_mutex_lock(&_mutex))
if (pthread_mutex_lock(&_mutex))
throw SystemException("cannot lock reader/writer lock");
}