diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-07-24 14:52:40 +0300 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-07-24 21:04:56 +0300 |
commit | 2c2e8589c341e2940202b781f7eb539b82b3599d (patch) | |
tree | 54611ad204129c78b7e8e6c96b497e842a1b3dd3 /src/mbgl/layout/symbol_feature.hpp | |
parent | a242bd107041bc740788ee8298fd7848c923442f (diff) | |
download | qtlocation-mapboxgl-2c2e8589c341e2940202b781f7eb539b82b3599d.tar.gz |
[core] GeometryCollection must not be implicitly copied
Diffstat (limited to 'src/mbgl/layout/symbol_feature.hpp')
-rw-r--r-- | src/mbgl/layout/symbol_feature.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/layout/symbol_feature.hpp b/src/mbgl/layout/symbol_feature.hpp index 2c952fc12a..72e88fb55e 100644 --- a/src/mbgl/layout/symbol_feature.hpp +++ b/src/mbgl/layout/symbol_feature.hpp @@ -13,7 +13,7 @@ class SymbolFeature : public GeometryTileFeature { public: SymbolFeature(std::unique_ptr<GeometryTileFeature> feature_) : feature(std::move(feature_)), - geometry(feature->getGeometries()) // we need a mutable copy of the geometry for mergeLines() + geometry(feature->getGeometries().clone()) // we need a mutable copy of the geometry for mergeLines() {} FeatureType getType() const override { return feature->getType(); } |