summaryrefslogtreecommitdiffhomepage
path: root/compat/mutex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/mutex.hpp')
-rw-r--r--compat/mutex.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/mutex.hpp b/compat/mutex.hpp
index e4d0fee6..54758a08 100644
--- a/compat/mutex.hpp
+++ b/compat/mutex.hpp
@@ -16,6 +16,7 @@ public:
mutex& operator=(const mutex& datum);
mutex(const mutex& datum);
explicit mutex(RecursionMode m);
+ mutex() : mutex{NonRecursive} {}
QMutex* operator&() const noexcept;
explicit operator QMutex*() const noexcept;