diff options
Diffstat (limited to 'include')
-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 9569b61df4..df2f9d2daf 100644 --- a/include/mbgl/style/sources/geojson_source.hpp +++ b/include/mbgl/style/sources/geojson_source.hpp @@ -14,7 +14,7 @@ namespace mbgl { class AsyncRequest; - +class Scheduler; namespace style { struct GeoJSONOptions { @@ -81,6 +81,7 @@ public: private: optional<std::string> url; std::unique_ptr<AsyncRequest> req; + std::shared_ptr<Scheduler> threadPool; mapbox::base::WeakPtrFactory<Source> weakFactory {this}; }; |