summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativemaps/qdeclarativepolygonmapitem.cpp')
-rw-r--r--src/location/declarativemaps/qdeclarativepolygonmapitem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
index fa6ee174..24086993 100644
--- a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
+++ b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp
@@ -398,8 +398,8 @@ static void wrapPath(const QGeoPolygon &poly
}
static void cutPathEars(const QList<QList<QDoubleVector2D>> &wrappedPaths,
- QVector<QDeclarativeGeoMapItemUtils::vec2> &screenVertices,
- QVector<quint32> &screenIndices)
+ QList<QDeclarativeGeoMapItemUtils::vec2> &screenVertices,
+ QList<quint32> &screenIndices)
{
using Coord = double;
using N = uint32_t;
@@ -427,8 +427,8 @@ static void cutPathEars(const QList<QList<QDoubleVector2D>> &wrappedPaths,
}
static void cutPathEars(const QList<QDoubleVector2D> &wrappedPath,
- QVector<QDeclarativeGeoMapItemUtils::vec2> &screenVertices,
- QVector<quint32> &screenIndices)
+ QList<QDeclarativeGeoMapItemUtils::vec2> &screenVertices,
+ QList<quint32> &screenIndices)
{
using Coord = double;
using N = uint32_t;