From 42e6b27e1afda7fcd8beddd9676ba7edb6363a34 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 14 Jan 2019 16:21:56 +0100 Subject: modernize only - replace `static constexpr inline' with `static constexpr'. `inline' is implied. - use braced initializer lists where applicable - still missing `override' usages --- compat/mutex.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compat/mutex.hpp') 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); -- cgit v1.2.3