summaryrefslogtreecommitdiffhomepage
path: root/compat/mutex.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-03 00:09:09 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:20 +0100
commit545071e998806235442edda5f575ee61e836abe9 (patch)
tree45579d717361f24c6f4a06354f5836447e691771 /compat/mutex.cpp
parent4766be01022d6de50f7b42647299860c2d9909b8 (diff)
cruft
Diffstat (limited to 'compat/mutex.cpp')
-rw-r--r--compat/mutex.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/compat/mutex.cpp b/compat/mutex.cpp
index 55789a22..664677ea 100644
--- a/compat/mutex.cpp
+++ b/compat/mutex.cpp
@@ -17,17 +17,17 @@ mutex::mutex(RecursionMode m) : inner{m}
{
}
-QMutex* mutex::operator&() const
+QMutex* mutex::operator&() const noexcept
{
- return *this;
+ return &inner;
}
-mutex::operator QMutex*() const
+mutex::operator QMutex*() const noexcept
{
return &inner;
}
-QMutex* mutex::operator->() const
+QMutex* mutex::operator->() const noexcept
{
- return *this;
+ return &inner;
}