Fix clang-tidy and clazy warnings

This commit is contained in:
Mat Sutcliffe
2021-08-27 16:21:41 +01:00
parent 2aeacf49a7
commit eb6b0ff289
122 changed files with 197 additions and 205 deletions

View File

@@ -66,7 +66,7 @@ namespace XSwiftBus
void CDBusObject::invokeQueuedDBusCalls()
{
std::lock_guard<std::mutex> lock(m_mutex);
while (m_qeuedDBusCalls.size() > 0)
while (!m_qeuedDBusCalls.empty())
{
m_qeuedDBusCalls.front()();
m_qeuedDBusCalls.pop_front();