fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "static_publisher.h"
|
||||
#include <utility>
|
||||
#include <QCryptographicHash>
|
||||
#include <QJsonDocument>
|
||||
#include <QtCore/QTimer>
|
||||
@@ -157,7 +158,7 @@ void StaticPublisher::publishMainStructureElement(const std::shared_ptr<Infrastr
|
||||
return;
|
||||
|
||||
QHash<qint64, qint64> seId2mseId;
|
||||
for (const auto &mse : qAsConst(mainStructureElements))
|
||||
for (const auto &mse : std::as_const(mainStructureElements))
|
||||
{
|
||||
auto mseDds = InfrastructureManagement::Database::convert(mse);
|
||||
auto itContSe = structureElements.constFind(mse.id);
|
||||
@@ -188,7 +189,7 @@ void StaticPublisher::publishMainStructureElement(const std::shared_ptr<Infrastr
|
||||
|
||||
InfrastructureManagement::MainFootprint mf;
|
||||
InfrastructureManagement::FootprintElement elem;
|
||||
for (const QMap<int, InfrastructureManagement::Database::IsmStructureElementFootprint> &cont : qAsConst(footprintSorted))
|
||||
for (const QMap<int, InfrastructureManagement::Database::IsmStructureElementFootprint> &cont : std::as_const(footprintSorted))
|
||||
{
|
||||
if (cont.empty())
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user