Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+3
-2
@@ -3,6 +3,7 @@
|
||||
|
||||
|
||||
#include "map_object_model.h"
|
||||
#include <utility>
|
||||
#include <Symbology/sidc_codec.h>
|
||||
|
||||
#include <SituationMap/Map/party_id_to_color_functor.h>
|
||||
@@ -211,7 +212,7 @@ bool MapObjectModel::updateMapObjectData(const QSharedPointer<MapObjectData> &ma
|
||||
|
||||
void MapObjectModel::requestCivilIcons()
|
||||
{
|
||||
for (const DATA_T &moData : qAsConst(m_vecData))
|
||||
for (const DATA_T &moData : std::as_const(m_vecData))
|
||||
{
|
||||
if (!moData)
|
||||
continue;
|
||||
@@ -469,7 +470,7 @@ void MapObjectModel::updateUsedPartyIds()
|
||||
m_usedPartyIds.clear();
|
||||
m_usedTypeName.clear();
|
||||
m_usedVulnerabilities.clear();
|
||||
for (const QSharedPointer<MapObjectData> &item : qAsConst(m_vecData))
|
||||
for (const QSharedPointer<MapObjectData> &item : std::as_const(m_vecData))
|
||||
{
|
||||
if (!item)
|
||||
continue;
|
||||
|
||||
+2
-1
@@ -3,6 +3,7 @@
|
||||
|
||||
|
||||
#include "map_object_selection_widget.h"
|
||||
#include <utility>
|
||||
#include "map_object_custom_view.h"
|
||||
#include "map_object_model.h"
|
||||
#include "ui_map_object_selection_dialog.h"
|
||||
@@ -668,7 +669,7 @@ void MapObjectSelectionWidget::onMapObjectEntered(const QModelIndex &index)
|
||||
|
||||
ObjectFactory &objFac = m_map->objectFactory();
|
||||
{
|
||||
for (auto uid : qAsConst(m_selectedMapObjects))
|
||||
for (auto uid : std::as_const(m_selectedMapObjects))
|
||||
{
|
||||
RefPointer<AbstractMapObject> mapObj = objFac.get<AbstractMapObject>(uid);
|
||||
if (mapObj)
|
||||
|
||||
Reference in new issue
Block a user