diff --git a/src/common/adaptive_mutex.h b/src/common/adaptive_mutex.h index 5e99dc47654..31a02f5b944 100644 --- a/src/common/adaptive_mutex.h +++ b/src/common/adaptive_mutex.h @@ -14,6 +14,7 @@ class AdaptiveMutex { void unlock() { pthread_mutex_unlock(&mutex); } + private: pthread_mutex_t mutex = PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP; };