diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-07-05 14:57:34 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-07-06 16:17:58 +0300 |
commit | 0395271b9d900cacf543d9bca6314e50b7cfc7af (patch) | |
tree | 48e222ba22919576c1527a2679e3b0a18fdf036d /test/src | |
parent | a1ed9f879408a12e462196d961075c2ae3d7486e (diff) | |
download | qtlocation-mapboxgl-0395271b9d900cacf543d9bca6314e50b7cfc7af.tar.gz |
[test] Reuse StubGeometryTileFeature in MergeLines
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/mbgl/test/stub_geometry_tile_feature.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/src/mbgl/test/stub_geometry_tile_feature.hpp b/test/src/mbgl/test/stub_geometry_tile_feature.hpp index 21d198a96b..775d783ead 100644 --- a/test/src/mbgl/test/stub_geometry_tile_feature.hpp +++ b/test/src/mbgl/test/stub_geometry_tile_feature.hpp @@ -9,6 +9,13 @@ public: : properties(std::move(properties_)) { } + StubGeometryTileFeature(optional<FeatureIdentifier> id_, FeatureType type_, GeometryCollection geometry_, PropertyMap properties_) + : properties(std::move(properties_)), + id(std::move(id_)), + type(type_), + geometry(std::move(geometry_)) { + } + PropertyMap properties; optional<FeatureIdentifier> id = {}; FeatureType type = FeatureType::Point; |