X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/261442af210d652fc2c8a3d9197097982701bd16..18990b532c136adc812b80e20cb0b1b226d648d3:/stglibs/locker.lib/include/stg/locker.h?ds=inline 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);