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

@@ -1709,7 +1709,7 @@ namespace BlackCore
if (m_webDataServices)
{
const CUrlList urls(m_webDataServices->getVatsimMetarUrls());
if (!urls.empty()) { return urls; }
if (!urls.isEmpty()) { return urls; }
}
if (m_setupReader)
{
@@ -1724,7 +1724,7 @@ namespace BlackCore
if (m_webDataServices)
{
const CUrlList urls(m_webDataServices->getVatsimDataFileUrls());
if (!urls.empty()) { return urls; }
if (!urls.isEmpty()) { return urls; }
}
if (m_setupReader)
{