diff options
Diffstat (limited to 'src/mbgl/map/vector_tile.cpp')
-rw-r--r-- | src/mbgl/map/vector_tile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/map/vector_tile.cpp b/src/mbgl/map/vector_tile.cpp index 343efe4314..8faaae395e 100644 --- a/src/mbgl/map/vector_tile.cpp +++ b/src/mbgl/map/vector_tile.cpp @@ -54,10 +54,10 @@ VectorTileFeature::VectorTileFeature(pbf feature_pbf, const VectorTileLayer& lay } } -mapbox::util::optional<Value> VectorTileFeature::getValue(const std::string& key) const { +optional<Value> VectorTileFeature::getValue(const std::string& key) const { auto keyIter = layer.keys.find(key); if (keyIter == layer.keys.end()) { - return mapbox::util::optional<Value>(); + return optional<Value>(); } pbf tags = tags_pbf; @@ -82,7 +82,7 @@ mapbox::util::optional<Value> VectorTileFeature::getValue(const std::string& key } } - return mapbox::util::optional<Value>(); + return optional<Value>(); } GeometryCollection VectorTileFeature::getGeometries() const { |