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

@@ -7,6 +7,7 @@
*/
#include "object_gas_pipe.h"
#include <utility>
#include "special_area_provider.h"
#include <QtGui/QPolygonF>
@@ -133,7 +134,7 @@ Core::FunctionReplyObject ObjectGasPipe::updateObject(const Database::AesGasPipe
}
// update all AesGasPipeSegments in database
for (const Database::AesGasPipeSegment &segment : qAsConst(tmpDbSegments))
for (const Database::AesGasPipeSegment &segment : std::as_const(tmpDbSegments))
{
if (!m_mainHandler->db()->update(segment))
return Core::FunctionReplyObject(m_data.id, tr_lts("dds", "Error updating AesGasPipeSegment-data in database."));