summaryrefslogtreecommitdiffhomepage
path: root/compat/mutex.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-14 16:21:56 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:49:10 +0100
commit42e6b27e1afda7fcd8beddd9676ba7edb6363a34 (patch)
tree43177e1c1f3bd07fc189f5038d76ecfafda754a5 /compat/mutex.hpp
parent28530b61616852785f144ab67f67d7df435f8ec6 (diff)
modernize only
- replace `static constexpr inline' with `static constexpr'. `inline' is implied. - use braced initializer lists where applicable - still missing `override' usages
Diffstat (limited to 'compat/mutex.hpp')
-rw-r--r--compat/mutex.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/mutex.hpp b/compat/mutex.hpp
index e142fd0b..e4d0fee6 100644
--- a/compat/mutex.hpp
+++ b/compat/mutex.hpp
@@ -10,8 +10,8 @@ class OTR_COMPAT_EXPORT mutex
public:
using RecursionMode = QMutex::RecursionMode;
- static constexpr inline RecursionMode Recursive = RecursionMode::Recursive;
- static constexpr inline RecursionMode NonRecursive = RecursionMode::NonRecursive;
+ static constexpr RecursionMode Recursive = RecursionMode::Recursive;
+ static constexpr RecursionMode NonRecursive = RecursionMode::NonRecursive;
mutex& operator=(const mutex& datum);
mutex(const mutex& datum);