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 "uas_handler.h"
#include <utility>
#include "uas.h"
#include <ngldb/db_service_handler.h>
#include "main_handler.h"
@@ -53,7 +54,7 @@ bool UasHandler::init()
return false;
}
for (const Database::PpmUas &currentUas : qAsConst(uasVec))
for (const Database::PpmUas &currentUas : std::as_const(uasVec))
{
UasHandling::Uas *newUas = new UasHandling::Uas(currentUas);
@@ -283,7 +284,7 @@ void UasHandler::onUASRadioLinkConnectionStatusChanged(const UASRadioLinkConnect
bool UasHandler::hostNameHostPortExists(const QString &hostname, int hostport, int uasId)
{
for (Uas *uas : qAsConst(m_uass))
for (Uas *uas : std::as_const(m_uass))
{
if (uas->id() == uasId)
continue;