diff options
Diffstat (limited to 'compat/copyable-mutex.hpp')
-rw-r--r-- | compat/copyable-mutex.hpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/compat/copyable-mutex.hpp b/compat/copyable-mutex.hpp deleted file mode 100644 index 37e6802b..00000000 --- a/compat/copyable-mutex.hpp +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include <QMutex> - -#include "export.hpp" - -class OTR_COMPAT_EXPORT mutex -{ - mutable QMutex inner; - -public: - using RecursionMode = QMutex::RecursionMode; - static constexpr inline RecursionMode Recursive = RecursionMode::Recursive; - static constexpr inline RecursionMode NonRecursive = RecursionMode::NonRecursive; - - mutex& operator=(const mutex& datum); - mutex(const mutex& datum); - explicit mutex(RecursionMode m); - - QMutex* operator&() const; - operator QMutex*() const; - QMutex* operator->() const; -}; |