diff options
Diffstat (limited to 'include/mbgl/style/sources/image_source.hpp')
-rw-r--r-- | include/mbgl/style/sources/image_source.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mbgl/style/sources/image_source.hpp b/include/mbgl/style/sources/image_source.hpp index 009764291f..2f3323a5b9 100644 --- a/include/mbgl/style/sources/image_source.hpp +++ b/include/mbgl/style/sources/image_source.hpp @@ -4,9 +4,12 @@ #include <mbgl/util/image.hpp> #include <mbgl/util/optional.hpp> +#include <memory> + namespace mbgl { class LatLng; class AsyncRequest; +class FileSource; namespace style { @@ -26,7 +29,7 @@ public: class Impl; const Impl& impl() const; - void loadDescription(FileSource&) final; + void loadDescription(std::shared_ptr<FileSource>) final; private: optional<std::string> url; std::unique_ptr<AsyncRequest> req; |