mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
Fixed clazy warnings: unnecessary containers and containers being detached in range-for loops.
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user