X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/5faa80c629ffd05cf80dd29e8a1834057805829c..afcbfd1a09e22ff4839ba5db42047c96f355506c:/include/stg/locker.h diff --git a/include/stg/locker.h b/include/stg/locker.h index fe1014d7..2a395f37 100644 --- a/include/stg/locker.h +++ b/include/stg/locker.h @@ -34,7 +34,7 @@ class STG_LOCKER { public: - STG_LOCKER(pthread_mutex_t * m) + explicit STG_LOCKER(pthread_mutex_t * m) : mutex(m) { pthread_mutex_lock(mutex);