Fixed clazy warnings: unnecessary containers and containers being detached in range-for loops.

This commit is contained in:
Mat Sutcliffe
2018-12-17 17:42:44 +00:00
parent 684ffeb671
commit 462172a87f
18 changed files with 114 additions and 139 deletions

View File

@@ -76,7 +76,7 @@ namespace BlackCore
if (m_plugins.isEmpty()) { return 0; }
int c = 0;
for (PluginExtended &pi : m_plugins.values())
for (PluginExtended &pi : m_plugins)
{
if (!pi.listener) { continue; }
if (!pi.listener->isRunning()) { continue; }