dtoolbase: fix compilation error with musl

Fixes #875
This commit is contained in:
rdb 2020-03-01 15:14:15 +01:00
parent 54ff2a8dda
commit 0b87673747
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
*
*/
constexpr MutexPosixImpl::
MutexPosixImpl() noexcept : _lock(PTHREAD_MUTEX_INITIALIZER) {
MutexPosixImpl() noexcept {
}
/**

View File

@ -40,7 +40,7 @@ public:
INLINE void unlock();
private:
pthread_mutex_t _lock;
pthread_mutex_t _lock = PTHREAD_MUTEX_INITIALIZER;
friend class ConditionVarPosixImpl;
};