From 00b9f69c907e70cf25db13225b38959c0343c234 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 16 Mar 2020 13:37:13 -0700 Subject: [PATCH] remove some more extra semicolons Signed-off-by: Rosen Penev --- src/lib/dbus/Values.hxx | 6 +++--- src/lib/pulse/LockGuard.hxx | 2 +- src/lib/upnp/ixmlwrap.hxx | 2 +- src/thread/Util.cxx | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/dbus/Values.hxx b/src/lib/dbus/Values.hxx index cc81093d8..45223cc22 100644 --- a/src/lib/dbus/Values.hxx +++ b/src/lib/dbus/Values.hxx @@ -86,7 +86,7 @@ struct WrapVariant : BasicValue { template static WrapVariant Variant(const T &_value) noexcept { return WrapVariant(_value); -}; +} template struct WrapFixedArray { @@ -103,7 +103,7 @@ template static WrapFixedArray FixedArray(const T *_data, size_t _size) noexcept { return WrapFixedArray(_data, _size); -}; +} template struct WrapStruct { @@ -118,7 +118,7 @@ struct WrapStruct { template static WrapStruct Struct(const T&... values) noexcept { return WrapStruct(values...); -}; +} } /* namespace ODBus */ diff --git a/src/lib/pulse/LockGuard.hxx b/src/lib/pulse/LockGuard.hxx index 930267cf7..85734b532 100644 --- a/src/lib/pulse/LockGuard.hxx +++ b/src/lib/pulse/LockGuard.hxx @@ -41,6 +41,6 @@ public: LockGuard &operator=(const LockGuard &) = delete; }; -}; +} #endif diff --git a/src/lib/upnp/ixmlwrap.hxx b/src/lib/upnp/ixmlwrap.hxx index 4d4cb0794..2ef142ac7 100644 --- a/src/lib/upnp/ixmlwrap.hxx +++ b/src/lib/upnp/ixmlwrap.hxx @@ -28,6 +28,6 @@ namespace ixmlwrap { const char *getFirstElementValue(IXML_Document *doc, const char *name) noexcept; -}; +} #endif /* _IXMLWRAP_H_INCLUDED_ */ diff --git a/src/thread/Util.cxx b/src/thread/Util.cxx index 07c224ddd..675c39ce1 100644 --- a/src/thread/Util.cxx +++ b/src/thread/Util.cxx @@ -94,7 +94,7 @@ SetThreadIdlePriority() noexcept #elif defined(_WIN32) SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_IDLE); #endif -}; +} void SetThreadRealtime() @@ -111,4 +111,4 @@ SetThreadRealtime() if (linux_sched_setscheduler(0, policy, &sched_param) < 0) throw MakeErrno("sched_setscheduler failed"); #endif // __linux__ -}; +}