summaryrefslogtreecommitdiff
path: root/include/mbgl/style/conversion/geojson.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/conversion/geojson.hpp')
-rw-r--r--include/mbgl/style/conversion/geojson.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/style/conversion/geojson.hpp b/include/mbgl/style/conversion/geojson.hpp
index ba10b3ecc8..6e6e97dbc0 100644
--- a/include/mbgl/style/conversion/geojson.hpp
+++ b/include/mbgl/style/conversion/geojson.hpp
@@ -8,7 +8,7 @@ namespace style {
namespace conversion {
template <class V>
-Result<GeoJSON> convertGeoJSON(const V& value);
+optional<GeoJSON> convertGeoJSON(const V& value, Error& error);
} // namespace conversion
} // namespace style