]> git.stg.codes - stg.git/blobdiff - stglibs/logger.lib/include/stg/logger.h
Fixed compilation errors.
[stg.git] / stglibs / logger.lib / include / stg / logger.h
index dc87178e4a487dedc58d8cedce793106edf450aa..c55801ac2a32570fb41348b2f74a2d604332122b 100644 (file)
@@ -11,8 +11,8 @@ STG_LOGGER & GetStgLogger();
 class STG_LOGGER_LOCKER
 {
 public:
 class STG_LOGGER_LOCKER
 {
 public:
-    STG_LOGGER_LOCKER(pthread_mutex_t * m) : mutex(m) { pthread_mutex_lock(mutex); };
-    ~STG_LOGGER_LOCKER() { pthread_mutex_unlock(mutex); };
+    STG_LOGGER_LOCKER(pthread_mutex_t * m) : mutex(m) { pthread_mutex_lock(mutex); }
+    ~STG_LOGGER_LOCKER() { pthread_mutex_unlock(mutex); }
 
 private:
     STG_LOGGER_LOCKER(const STG_LOGGER_LOCKER & rvalue);
 
 private:
     STG_LOGGER_LOCKER(const STG_LOGGER_LOCKER & rvalue);