fix Warning

This commit is contained in:
berrux-dev committed 2026-10-03 09:20:13 +02:00
1 parent 593c221d23
commit 8345470273
316 files changed
+1246 -929

No files matched your search

@@ -1,4 +1,5 @@
#include "egcu_simulator.h"
#include <utility>
QVector<int> relayStates = {0,0,0,0,0,0,0,0};
@@ -27,7 +28,7 @@ QString sendState()
{
int i = 0;
QString stateString;
for (int value : qAsConst(relayStates))
for (int value : std::as_const(relayStates))
{
QString state = QStringLiteral("\"");
state += QString::number(i);