Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+6
-5
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "srm_data_plugin.h"
|
||||
#include <utility>
|
||||
|
||||
#include <DDS/Core/core_dtc.h>
|
||||
#include <SituationReplayManagement/srm_ftc.h>
|
||||
@@ -45,7 +46,7 @@ public:
|
||||
{
|
||||
|
||||
m_references += fi;
|
||||
for (const auto &info : qAsConst(m_replayPartitions))
|
||||
for (const auto &info : std::as_const(m_replayPartitions))
|
||||
{
|
||||
fi->write(info);
|
||||
}
|
||||
@@ -66,7 +67,7 @@ public:
|
||||
void removeSession(ForeignInterfaceImpl *fi, bool wait = true) noexcept(false)
|
||||
{
|
||||
m_references -= fi;
|
||||
for (const auto &info : qAsConst(m_replayPartitions))
|
||||
for (const auto &info : std::as_const(m_replayPartitions))
|
||||
fi->remove(info);
|
||||
|
||||
replayPartitionRemoveRequest(fi, 0, 0, 0, wait);
|
||||
@@ -256,7 +257,7 @@ public:
|
||||
}
|
||||
|
||||
const auto &rp = it.value();
|
||||
for (auto ptr : qAsConst(m_references))
|
||||
for (auto ptr : std::as_const(m_references))
|
||||
ptr->remove(rp);
|
||||
|
||||
proc->deleteLater();
|
||||
@@ -275,7 +276,7 @@ public:
|
||||
}
|
||||
|
||||
const ReplayPartitionEx &rp = it.value();
|
||||
for (ForeignInterfaceImpl* ptr : qAsConst(m_references))
|
||||
for (ForeignInterfaceImpl* ptr : std::as_const(m_references))
|
||||
ptr->write(rp);
|
||||
}
|
||||
|
||||
@@ -347,7 +348,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
for (auto *ptr : qAsConst(m_references))
|
||||
for (auto *ptr : std::as_const(m_references))
|
||||
ptr->remove(rp);
|
||||
|
||||
it = m_replayPartitions.erase(it);
|
||||
|
||||
Reference in new issue
Block a user