Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+4
-4
@@ -101,10 +101,10 @@ NGL_TARGET_LINK_LIBRARIES(hlaTestTool
|
||||
nglcoreapplication
|
||||
NGLLogger
|
||||
nglsettings
|
||||
Qt5::Core
|
||||
Qt5::Gui
|
||||
Qt5::Network
|
||||
Qt5::WebSockets
|
||||
Qt6::Core
|
||||
Qt6::Gui
|
||||
Qt6::Network
|
||||
Qt6::WebSockets
|
||||
ngltools
|
||||
# LtsUtilsDds
|
||||
NGS::NGS
|
||||
|
||||
+4
-3
@@ -3,6 +3,7 @@
|
||||
|
||||
|
||||
#include "ngs_connector.h"
|
||||
#include <utility>
|
||||
#include "ngs_handler.h"
|
||||
#include "damage_model.h"
|
||||
#include <Common/settings.h>
|
||||
@@ -372,12 +373,12 @@ void NgsConnector::unsubscribeFromNgs()
|
||||
minefieldBreachObjClass.unsubscribe();
|
||||
}
|
||||
|
||||
for (rpr2::IPlayerBaseEntityObjInstance *player : qAsConst(m_playerMap))
|
||||
for (rpr2::IPlayerBaseEntityObjInstance *player : std::as_const(m_playerMap))
|
||||
player->deleteObjectInstance(getSimTime());
|
||||
|
||||
m_playerMap.clear();
|
||||
|
||||
for (rpr2::IPlayerEnvironmentObjectObjInstance *environmentObject : qAsConst(m_environmentObjects))
|
||||
for (rpr2::IPlayerEnvironmentObjectObjInstance *environmentObject : std::as_const(m_environmentObjects))
|
||||
environmentObject->deleteObjectInstance(getSimTime());
|
||||
|
||||
m_environmentObjects.clear();
|
||||
@@ -1308,7 +1309,7 @@ QPolygonF NgsConnector::utmToGeogrphic(const QPolygonF &polyUtm, const LtsCoordT
|
||||
{
|
||||
QPolygonF poly;
|
||||
poly.reserve(polyUtm.size());
|
||||
for (const QPointF &point : qAsConst(polyUtm))
|
||||
for (const QPointF &point : std::as_const(polyUtm))
|
||||
poly << base.geographic(point);
|
||||
return poly;
|
||||
}
|
||||
|
||||
+2
-1
@@ -2,6 +2,7 @@
|
||||
|
||||
|
||||
#include "ngs_handler.h"
|
||||
#include <utility>
|
||||
#include "ngs_connector.h"
|
||||
#include "web_socket_interface.h"
|
||||
#include "ws_telegrams.h"
|
||||
@@ -31,7 +32,7 @@ WsInterface::WsInterface(std::shared_ptr<NgsHandler> ngsHandler, QObject *parent
|
||||
WsInterface::~WsInterface()
|
||||
{
|
||||
TRACE_LOG(m_logger) << LOGFUNCTION << " START";
|
||||
for (auto client : qAsConst(m_clients))
|
||||
for (auto client : std::as_const(m_clients))
|
||||
{
|
||||
client->disconnect(this);
|
||||
client->close();
|
||||
|
||||
Reference in new issue
Block a user