summaryrefslogtreecommitdiff
path: root/benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/src/mbgl/benchmark/stub_geometry_tile_feature.hpp')
-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;
}