Code cleaning

This commit is contained in:
hsaturn
2021-03-28 21:29:02 +02:00
parent 7d9ab6381d
commit 3bb2dd5a81
3 changed files with 3 additions and 3 deletions

View File

@@ -126,7 +126,7 @@ void MqttBroker::loop()
// for(auto it=clients.begin(); it!=clients.end(); it++)
// use index because size can change during the loop
for(int i=0; i<clients.size(); i++)
for(size_t i=0; i<clients.size(); i++)
{
auto client = clients[i];
if (client->connected())