diff options
Diffstat (limited to 'src/utils/mutex.h')
-rw-r--r-- | src/utils/mutex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/mutex.h b/src/utils/mutex.h index 61129b4a9..fe560e354 100644 --- a/src/utils/mutex.h +++ b/src/utils/mutex.h @@ -84,7 +84,7 @@ inline void Mutex::unlock() } -inline MutexLocker::MutexLocker(Mutex *mutex): +inline MutexLocker::MutexLocker(Mutex *const mutex) : mMutex(mutex) { mMutex->lock(); |