remove extra semicolon
Found with -Wextra-semi Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
b5d1a09010
commit
e25a3d17e7
|
@ -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;
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue