remove extra semicolon

Found with -Wextra-semi

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-03-15 22:39:56 -07:00
parent b5d1a09010
commit e25a3d17e7
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
3 changed files with 4 additions and 4 deletions

View File

@ -95,7 +95,7 @@ public:
constexpr double ToDoubleS() const { constexpr double ToDoubleS() const {
return double(count()) / 1000.; return double(count()) / 1000.;
}; }
constexpr bool IsZero() const { constexpr bool IsZero() const {
return count() == 0; return count() == 0;
@ -199,7 +199,7 @@ public:
constexpr double ToDoubleS() const { constexpr double ToDoubleS() const {
return double(count()) / 1000.; return double(count()) / 1000.;
}; }
constexpr bool IsZero() const { constexpr bool IsZero() const {
return count() == 0; return count() == 0;

View File

@ -80,7 +80,7 @@ public:
throw std::runtime_error("dbus_message_iter_append_fixed_array() failed"); throw std::runtime_error("dbus_message_iter_append_fixed_array() failed");
return *this; return *this;
}; }
AppendMessageIter &AppendFixedArray(ConstBuffer<uint32_t> value) { AppendMessageIter &AppendFixedArray(ConstBuffer<uint32_t> value) {
return AppendFixedArray(DBUS_TYPE_UINT32, return AppendFixedArray(DBUS_TYPE_UINT32,

View File

@ -53,7 +53,7 @@ class ScopeUnlock {
public: public:
explicit ScopeUnlock(Mutex &_mutex) noexcept:mutex(_mutex) { explicit ScopeUnlock(Mutex &_mutex) noexcept:mutex(_mutex) {
mutex.unlock(); mutex.unlock();
}; }
~ScopeUnlock() noexcept { ~ScopeUnlock() noexcept {
mutex.lock(); mutex.lock();