diff options
Diffstat (limited to 'include/mbgl/style/sources/geojson_source.hpp')
-rw-r--r-- | include/mbgl/style/sources/geojson_source.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mbgl/style/sources/geojson_source.hpp b/include/mbgl/style/sources/geojson_source.hpp index a03b910279..732b8cac75 100644 --- a/include/mbgl/style/sources/geojson_source.hpp +++ b/include/mbgl/style/sources/geojson_source.hpp @@ -5,9 +5,12 @@ #include <mbgl/util/optional.hpp> #include <mbgl/util/constants.hpp> +#include <memory> + namespace mbgl { class AsyncRequest; +class FileSource; namespace style { @@ -39,7 +42,7 @@ public: class Impl; const Impl& impl() const; - void loadDescription(FileSource&) final; + void loadDescription(std::shared_ptr<FileSource>) final; private: optional<std::string> url; |