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

@@ -8,6 +8,7 @@
*/
#include <nglapplication/nglapplication.h>
#include <utility>
#include <NGLLogger/INGLLogger.h>
#include <memory>
@@ -75,7 +76,7 @@ int main(int argc, char *argv[])
if (portList.count() > 1)
{
portNumbers.reserve(portList.size());
for (const QString &s : qAsConst(portList))
for (const QString &s : std::as_const(portList))
portNumbers << s.toInt();
}
else if (portList.count() == 1 && !portList.first().isEmpty())