diff --git a/login_server/src/cpp/lib/MultithreadContainer.h b/login_server/src/cpp/lib/MultithreadContainer.h index dafc4f9ad..2596fb2fd 100644 --- a/login_server/src/cpp/lib/MultithreadContainer.h +++ b/login_server/src/cpp/lib/MultithreadContainer.h @@ -21,7 +21,7 @@ ***************************************************************************/ /*! - + \brief Container Wrapper class for mutex protected container changed to poco mutex for gradido login server default mutex from poco is recursive so it is some heavy thing @@ -47,7 +47,7 @@ namespace UniLib { // \return false if mutex was locked from another thread bool tryLock(); - inline void unlock() { mLastSucceededLock = ""; mWorkMutex.unlock(); } + inline void unlock() { mWorkMutex.unlock(); mLastSucceededLock = ""; } inline const std::string& getLastSucceededLock() { return mLastSucceededLock; } protected: @@ -58,4 +58,4 @@ namespace UniLib { } } -#endif //__DR_UNIVERSUM_LIB_LIB_MULTITHREAD_CONTAINER_H__ \ No newline at end of file +#endif //__DR_UNIVERSUM_LIB_LIB_MULTITHREAD_CONTAINER_H__