diff options
Diffstat (limited to 'src/mbgl/annotation/annotation_tile.cpp')
-rw-r--r-- | src/mbgl/annotation/annotation_tile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/annotation/annotation_tile.cpp b/src/mbgl/annotation/annotation_tile.cpp index f3897ad3ea..39dbee408a 100644 --- a/src/mbgl/annotation/annotation_tile.cpp +++ b/src/mbgl/annotation/annotation_tile.cpp @@ -12,12 +12,12 @@ AnnotationTileFeature::AnnotationTileFeature(FeatureType type_, GeometryCollecti properties(std::move(properties_)), geometries(geometries_) {} -mapbox::util::optional<Value> AnnotationTileFeature::getValue(const std::string& key) const { +optional<Value> AnnotationTileFeature::getValue(const std::string& key) const { auto it = properties.find(key); if (it != properties.end()) { - return mapbox::util::optional<Value>(it->second); + return optional<Value>(it->second); } - return mapbox::util::optional<Value>(); + return optional<Value>(); } util::ptr<GeometryTileLayer> AnnotationTile::getLayer(const std::string& name) const { |