summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2018-11-06 16:11:47 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2018-11-13 17:28:26 +0200
commitbf8b24fa8d30df374ee36be781b6a572036187b9 (patch)
treebdca15eef94898a879e4f3737eee2dc44efa275f /benchmark
parent4e15a0c8cd7c906908d97da10f75b35a3bc2ed9e (diff)
downloadqtlocation-mapboxgl-bf8b24fa8d30df374ee36be781b6a572036187b9.tar.gz
[build] Update to geometry v1.0.0
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp b/benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp
index e27aeeb48b..bff1a23ba8 100644
--- a/benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp
+++ b/benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp
@@ -11,7 +11,7 @@ public:
: properties(std::move(properties_)) {
}
- StubGeometryTileFeature(optional<FeatureIdentifier> id_, FeatureType type_, GeometryCollection geometry_, PropertyMap properties_)
+ StubGeometryTileFeature(FeatureIdentifier id_, FeatureType type_, GeometryCollection geometry_, PropertyMap properties_)
: properties(std::move(properties_)),
id(std::move(id_)),
type(type_),
@@ -19,7 +19,7 @@ public:
}
PropertyMap properties;
- optional<FeatureIdentifier> id;
+ FeatureIdentifier id;
FeatureType type = FeatureType::Point;
GeometryCollection geometry;
@@ -27,7 +27,7 @@ public:
return type;
}
- optional<FeatureIdentifier> getID() const override {
+ FeatureIdentifier getID() const override {
return id;
}