diff options
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/style/sources/geojson_source.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/style/sources/geojson_source.hpp b/include/mbgl/style/sources/geojson_source.hpp index 306a330252..e633e6efba 100644 --- a/include/mbgl/style/sources/geojson_source.hpp +++ b/include/mbgl/style/sources/geojson_source.hpp @@ -2,6 +2,7 @@ #include <mbgl/style/source.hpp> #include <mbgl/util/geojson.hpp> +#include <mbgl/util/optional.hpp> #include <mapbox/geojson.hpp> @@ -42,7 +43,7 @@ public: void setURL(const std::string& url); void setGeoJSON(const GeoJSON&); - std::string getURL(); + optional<std::string> getURL(); // Private implementation |