Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "ism_handler.h"
|
||||
#include <utility>
|
||||
#include "main_handler.h"
|
||||
#include <QTimer>
|
||||
#include <QJsonDocument>
|
||||
@@ -274,7 +275,7 @@ void IsmHandler::buildingsChanged(bool init)
|
||||
QMap<int, BuildingInfo> newBuildingConfiguration;
|
||||
availableBuildingIds.reserve(m_mainStructureElements.size());
|
||||
INFO_LOG(m_logger) << "Updating building config m_mainStructureElements.size=" << m_mainStructureElements.size();
|
||||
for (const InfrastructureManagement::MainStructureElement &mse : qAsConst(m_mainStructureElements))
|
||||
for (const InfrastructureManagement::MainStructureElement &mse : std::as_const(m_mainStructureElements))
|
||||
{
|
||||
DEBUG_LOG(m_logger) << "Checking building " << mse.id() << " - " << mse.name();
|
||||
BuildingInfo bi;
|
||||
@@ -512,7 +513,7 @@ void IsmHandler::checkOverride(const InfrastructureManagement::MainStructureElem
|
||||
<< " id=" << bi.mseId
|
||||
<< " assetId=" << bi.assetId
|
||||
<< " egcus.size=" << bi.egcus.size();
|
||||
for (const auto &egcu : qAsConst(bi.egcus))
|
||||
for (const auto &egcu : std::as_const(bi.egcus))
|
||||
{
|
||||
DEBUG_LOG(m_logger) << "AssetId=" << egcu.assetId
|
||||
<< " assetName=" << egcu.assetName
|
||||
|
||||
Reference in new issue
Block a user