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 "handler_building_data.h"
#include <utility>
#include "settings.h"
#include "handler_participant.h"
#include <LtsUtilsCore/dds_bitarray.h>
@@ -78,7 +79,7 @@ void HandlerBuildingData::onMainStructureElementChanged(const InfrastructureMana
m_mainStructureElements.insert(data.id, data);
DEBUG_LOG(m_logger) << "Got MainStructureElement: " << data;
for (const InfrastructureManagement::StructureElement &ele : qAsConst(data.elements))
for (const InfrastructureManagement::StructureElement &ele : std::as_const(data.elements))
{
if (ele.structureElementTypeId == InfrastructureManagement::StructureElementType::Room)
{