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