summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils/mutex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/mutex.h b/src/utils/mutex.h
index 1de94c12b..22dfa6d2c 100644
--- a/src/utils/mutex.h
+++ b/src/utils/mutex.h
@@ -57,6 +57,11 @@ class MutexLocker final
public:
explicit MutexLocker(Mutex *const mutex);
+ MutexLocker(const MutexLocker &m) :
+ mMutex(m.mMutex)
+ {
+ }
+
~MutexLocker();
private: