fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -8,6 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <utility>
|
||||
#include <QPolygonF>
|
||||
#include <QTimer>
|
||||
|
||||
@@ -148,7 +149,7 @@ class ObjectBase : public QObject
|
||||
{
|
||||
QPolygonF out;
|
||||
out.reserve(in.size());
|
||||
for (const auto &pos : qAsConst(in))
|
||||
for (const auto &pos : std::as_const(in))
|
||||
out.push_back(QPointF(pos.lon, pos.lat));
|
||||
|
||||
return out;
|
||||
|
||||
Reference in new issue
Block a user