diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-14 10:39:40 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-14 11:25:45 -0700 |
commit | b222689de835a8b83c387aff5e5f500ce17768e5 (patch) | |
tree | 2d2d381b11f6e69aa0659a6cbab36e3d878d8b22 /src/mbgl/style/source.hpp | |
parent | 9b0093e32dece62abc6fd7add789613871252a58 (diff) | |
download | qtlocation-mapboxgl-b222689de835a8b83c387aff5e5f500ce17768e5.tar.gz |
[core] Pass geojsonvt only to GeoJSONSource
Diffstat (limited to 'src/mbgl/style/source.hpp')
-rw-r--r-- | src/mbgl/style/source.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/style/source.hpp b/src/mbgl/style/source.hpp index 91fc6514c8..45feadf2fe 100644 --- a/src/mbgl/style/source.hpp +++ b/src/mbgl/style/source.hpp @@ -44,8 +44,7 @@ public: std::string id, std::string url, uint16_t tileSize, - std::unique_ptr<Tileset>&&, - std::unique_ptr<mapbox::geojsonvt::GeoJSONVT>&&); + std::unique_ptr<Tileset>&&); ~Source() override; bool loaded = false; @@ -99,8 +98,10 @@ private: private: std::unique_ptr<const Tileset> tileset; +protected: std::unique_ptr<mapbox::geojsonvt::GeoJSONVT> geojsonvt; +private: // Stores the time when this source was most recently updated. TimePoint updated = TimePoint::min(); |