Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "building_control_handler.h"
|
||||
#include <utility>
|
||||
#include "building_process.h"
|
||||
#include "main_handler.h"
|
||||
#include <QCoreApplication>
|
||||
@@ -30,7 +31,7 @@ BuildingControlHandler::BuildingControlHandler(MainHandler *mainHandler)
|
||||
|
||||
BuildingControlHandler::~BuildingControlHandler()
|
||||
{
|
||||
for (BuildingProcess *bldg : qAsConst(m_buildings))
|
||||
for (BuildingProcess *bldg : std::as_const(m_buildings))
|
||||
{
|
||||
bldg->shutdown();
|
||||
delete bldg;
|
||||
@@ -275,7 +276,7 @@ void BuildingControlHandler::onRelayInfoChanged(const AssetManagement::RelayInfo
|
||||
else
|
||||
m_relayInfos.remove(info.id());
|
||||
|
||||
for(auto *bldg : qAsConst(m_buildings))
|
||||
for(auto *bldg : std::as_const(m_buildings))
|
||||
bldg->newRelayInfos(m_relayInfos);
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user