summaryrefslogtreecommitdiffhomepage
path: root/compat/qcopyable-mutex.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-24 11:30:35 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-27 16:42:58 +0200
commitb15fe980671e028d0849e11878e0edf9a88669a5 (patch)
tree221cbd9964ff52e3ce85f1fda21d075d3f14b88d /compat/qcopyable-mutex.hpp
parent6d7679cf7c997237805022f828846164ff947a40 (diff)
compat/mutex: rename
Diffstat (limited to 'compat/qcopyable-mutex.hpp')
-rw-r--r--compat/qcopyable-mutex.hpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/compat/qcopyable-mutex.hpp b/compat/qcopyable-mutex.hpp
deleted file mode 100644
index af82876d..00000000
--- a/compat/qcopyable-mutex.hpp
+++ /dev/null
@@ -1,27 +0,0 @@
-#pragma once
-
-#include <memory>
-
-#include <QMutex>
-
-#include "export.hpp"
-
-class OTR_COMPAT_EXPORT mutex
-{
- std::unique_ptr<QMutex> inner;
-
-public:
- enum mode
- {
- recursive = QMutex::Recursive,
- normal = QMutex::NonRecursive,
- };
-
- mutex& operator=(const mutex& datum);
- mutex(const mutex& datum);
- mutex(mode m = normal);
-
- QMutex* operator&() const;
- operator QMutex*() const;
- QMutex* operator->() const;
-};