]> git.stg.codes - stg.git/blobdiff - include/stg/locker.h
Merge branch 'stg-2.409'
[stg.git] / include / stg / locker.h
index fe1014d779093b94e277f0248f1fa997a12db621..2a395f37698b6c3cfa9e8814c850e3409c572071 100644 (file)
@@ -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);