Skip to content

Commit c9520c8

Browse files
committed
Merge branch 'release/1.10.x'
2 parents 11eae3f + 0b87673 commit c9520c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dtool/src/dtoolbase/mutexPosixImpl.I

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
*/
1717
constexpr MutexPosixImpl::
18-
MutexPosixImpl() noexcept : _lock(PTHREAD_MUTEX_INITIALIZER) {
18+
MutexPosixImpl() noexcept {
1919
}
2020

2121
/**

dtool/src/dtoolbase/mutexPosixImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class EXPCL_DTOOL_DTOOLBASE MutexPosixImpl {
4040
INLINE void unlock();
4141

4242
private:
43-
pthread_mutex_t _lock;
43+
pthread_mutex_t _lock = PTHREAD_MUTEX_INITIALIZER;
4444
friend class ConditionVarPosixImpl;
4545
};
4646

0 commit comments

Comments
 (0)