diff options
Diffstat (limited to 'src/mbgl/style/sources/geojson_source_impl.hpp')
-rw-r--r-- | src/mbgl/style/sources/geojson_source_impl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/style/sources/geojson_source_impl.hpp b/src/mbgl/style/sources/geojson_source_impl.hpp index 9984bbdd62..b88ab35ee0 100644 --- a/src/mbgl/style/sources/geojson_source_impl.hpp +++ b/src/mbgl/style/sources/geojson_source_impl.hpp @@ -31,13 +31,13 @@ public: ~Impl() final; Range<uint8_t> getZoomRange() const; - GeoJSONData* getData() const; + std::weak_ptr<GeoJSONData> getData() const; optional<std::string> getAttribution() const final; private: GeoJSONOptions options; - std::unique_ptr<GeoJSONData> data; + std::shared_ptr<GeoJSONData> data; }; } // namespace style |