summaryrefslogtreecommitdiff
path: root/test/gl
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-07-24 14:52:40 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-07-24 21:04:56 +0300
commit2c2e8589c341e2940202b781f7eb539b82b3599d (patch)
tree54611ad204129c78b7e8e6c96b497e842a1b3dd3 /test/gl
parenta242bd107041bc740788ee8298fd7848c923442f (diff)
downloadqtlocation-mapboxgl-2c2e8589c341e2940202b781f7eb539b82b3599d.tar.gz
[core] GeometryCollection must not be implicitly copied
Diffstat (limited to 'test/gl')
-rw-r--r--test/gl/bucket.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gl/bucket.test.cpp b/test/gl/bucket.test.cpp
index 9c9847cf4d..f97fd53919 100644
--- a/test/gl/bucket.test.cpp
+++ b/test/gl/bucket.test.cpp
@@ -131,7 +131,7 @@ TEST(Buckets, SymbolBucket) {
// SymbolBucket::addFeature() is a no-op.
GeometryCollection point { { { 0, 0 } } };
- bucket.addFeature(StubGeometryTileFeature { {}, FeatureType::Point, point, properties }, point, {}, PatternLayerMap());
+ bucket.addFeature(StubGeometryTileFeature { {}, FeatureType::Point, std::move(point), properties }, point, {}, PatternLayerMap());
ASSERT_FALSE(bucket.hasData());
ASSERT_FALSE(bucket.needsUpload());