diff options
-rw-r--r-- | src/Chrono.hxx | 4 | ||||
-rw-r--r-- | src/lib/dbus/AppendIter.hxx | 2 | ||||
-rw-r--r-- | src/thread/Mutex.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/Chrono.hxx b/src/Chrono.hxx index 8a5d556fd..3707c835e 100644 --- a/src/Chrono.hxx +++ b/src/Chrono.hxx @@ -95,7 +95,7 @@ public: constexpr double ToDoubleS() const { return double(count()) / 1000.; - }; + } constexpr bool IsZero() const { return count() == 0; @@ -199,7 +199,7 @@ public: constexpr double ToDoubleS() const { return double(count()) / 1000.; - }; + } constexpr bool IsZero() const { return count() == 0; diff --git a/src/lib/dbus/AppendIter.hxx b/src/lib/dbus/AppendIter.hxx index b5859c260..40067e82b 100644 --- a/src/lib/dbus/AppendIter.hxx +++ b/src/lib/dbus/AppendIter.hxx @@ -80,7 +80,7 @@ public: throw std::runtime_error("dbus_message_iter_append_fixed_array() failed"); return *this; - }; + } AppendMessageIter &AppendFixedArray(ConstBuffer<uint32_t> value) { return AppendFixedArray(DBUS_TYPE_UINT32, diff --git a/src/thread/Mutex.hxx b/src/thread/Mutex.hxx index 3d79e2307..c0a03529e 100644 --- a/src/thread/Mutex.hxx +++ b/src/thread/Mutex.hxx @@ -53,7 +53,7 @@ class ScopeUnlock { public: explicit ScopeUnlock(Mutex &_mutex) noexcept:mutex(_mutex) { mutex.unlock(); - }; + } ~ScopeUnlock() noexcept { mutex.lock(); |