diff options
Diffstat (limited to 'src/mbgl/tile/geojson_tile.cpp')
-rw-r--r-- | src/mbgl/tile/geojson_tile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/tile/geojson_tile.cpp b/src/mbgl/tile/geojson_tile.cpp index 9f14780ca4..e7ce5385fe 100644 --- a/src/mbgl/tile/geojson_tile.cpp +++ b/src/mbgl/tile/geojson_tile.cpp @@ -14,12 +14,12 @@ FeatureType GeoJSONTileFeature::getType() const { return type; } -mapbox::util::optional<Value> GeoJSONTileFeature::getValue(const std::string& key) const { +optional<Value> GeoJSONTileFeature::getValue(const std::string& key) const { auto it = tags.find(key); if (it != tags.end()) { - return mapbox::util::optional<Value>(it->second); + return optional<Value>(it->second); } - return mapbox::util::optional<Value>(); + return optional<Value>(); } GeometryCollection GeoJSONTileFeature::getGeometries() const { |