Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+3
-2
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "handler_nasat_aircraft_participant.h"
|
||||
#include <utility>
|
||||
#include "handler_nasat_aircraft.h"
|
||||
#include "initialization.h"
|
||||
#include "dds_handler.h"
|
||||
@@ -47,7 +48,7 @@ HandlerNasatAircraftParticipant::HandlerNasatAircraftParticipant(Initialization
|
||||
HandlerNasatAircraftParticipant::~HandlerNasatAircraftParticipant()
|
||||
{
|
||||
DEBUG_LOG(m_logger) << LOGFUNCTION << " START";
|
||||
for (const auto &data : qAsConst(m_nasatAircraftParticipants))
|
||||
for (const auto &data : std::as_const(m_nasatAircraftParticipants))
|
||||
m_dts->removeNasatAircraftByKey(data.id());
|
||||
DEBUG_LOG(m_logger) << LOGFUNCTION << " END";
|
||||
}
|
||||
@@ -304,7 +305,7 @@ int HandlerNasatAircraftParticipant::removeNapsOfExercise(int exerciseId)
|
||||
int count = 0;
|
||||
QHash<int, NasatAircraftParticipant> napsCopy = m_nasatAircraftParticipants;
|
||||
|
||||
for (const NasatAircraftParticipant &nap : qAsConst(napsCopy))
|
||||
for (const NasatAircraftParticipant &nap : std::as_const(napsCopy))
|
||||
{
|
||||
if (nap.exerciseId() == exerciseId)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user