summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/annotation_source.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/annotation/annotation_source.hpp')
-rw-r--r--src/mbgl/annotation/annotation_source.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mbgl/annotation/annotation_source.hpp b/src/mbgl/annotation/annotation_source.hpp
index 0728f3207e..a0e59227e4 100644
--- a/src/mbgl/annotation/annotation_source.hpp
+++ b/src/mbgl/annotation/annotation_source.hpp
@@ -3,8 +3,12 @@
#include <mbgl/style/source.hpp>
#include <mbgl/style/source_impl.hpp>
+#include <memory>
+
namespace mbgl {
+class FileSource;
+
class AnnotationSource : public style::Source {
public:
AnnotationSource();
@@ -13,7 +17,7 @@ public:
const Impl& impl() const;
private:
- void loadDescription(FileSource&) final;
+ void loadDescription(std::shared_ptr<FileSource>) final;
Mutable<Impl> mutableImpl() const;
};