summaryrefslogtreecommitdiff
path: root/src/mbgl/style/style_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/style_impl.hpp')
-rw-r--r--src/mbgl/style/style_impl.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/style/style_impl.hpp b/src/mbgl/style/style_impl.hpp
index 4c56f6785b..1f62685c34 100644
--- a/src/mbgl/style/style_impl.hpp
+++ b/src/mbgl/style/style_impl.hpp
@@ -25,9 +25,9 @@
namespace mbgl {
-class FileSource;
class AsyncRequest;
class SpriteLoader;
+class FileSourceOptions;
namespace style {
@@ -37,7 +37,7 @@ class Style::Impl : public SpriteLoaderObserver,
public LightObserver,
public util::noncopyable {
public:
- Impl(FileSource&, float pixelRatio);
+ Impl(float pixelRatio, const FileSourceOptions&);
~Impl() override;
void loadJSON(const std::string&);
@@ -97,7 +97,7 @@ public:
private:
void parse(const std::string&);
- FileSource& fileSource;
+ std::shared_ptr<FileSource> fileSource;
std::string url;
std::string json;