Tweak the MutexLock implementation slightly, so as to confuse Coverity less.
[cubemap] / mutexlock.cpp
index dbd5ae5e06f3fa2d7588f13113a0d4bfd825a145..a1dcc6a6a62594cf261a80299dcbeba60f0bb6cd 100644 (file)
@@ -3,11 +3,11 @@
 MutexLock::MutexLock(pthread_mutex_t *mutex)
        : mutex(mutex)
 {
-       pthread_mutex_lock(mutex);
+       pthread_mutex_lock(this->mutex);
 }
 
 MutexLock::~MutexLock()
 {
-       pthread_mutex_unlock(mutex);
+       pthread_mutex_unlock(this->mutex);
 }