X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/261442af210d652fc2c8a3d9197097982701bd16..4a89beb9494451304e34e9a8e226936ac465c536:/stglibs/locker.lib/include/stg/locker.h diff --git a/stglibs/locker.lib/include/stg/locker.h b/stglibs/locker.lib/include/stg/locker.h index 7a8d0b8d..51ceb738 100644 --- a/stglibs/locker.lib/include/stg/locker.h +++ b/stglibs/locker.lib/include/stg/locker.h @@ -67,7 +67,7 @@ public: pthread_mutex_unlock(&lockerMutex); #endif pthread_mutex_lock(mutex); - }; + } ~STG_LOCKER() { @@ -77,7 +77,7 @@ public: std::cout << "Unlock: " << lockID << " " << file << ":" << line << " " << mutex << " " << pthread_self() << std::endl; pthread_mutex_unlock(&lockerMutex); #endif - }; + } private: STG_LOCKER(const STG_LOCKER & rvalue); STG_LOCKER & operator=(const STG_LOCKER & rvalue);