diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-07 12:06:31 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-13 10:57:46 -0700 |
commit | 7c282d074c1e77d69640354ad5b9839fab65360d (patch) | |
tree | 0d29612bef4a9a1aa0d40a83fe9937d8557f18a0 /src/mbgl/tile/vector_tile_data.hpp | |
parent | bfcd21dd7e1531466be365447bb9a9630ed20d31 (diff) | |
download | qtlocation-mapboxgl-7c282d074c1e77d69640354ad5b9839fab65360d.tar.gz |
[core] Eliminate static {Vector,Raster}TileData::parseData
Diffstat (limited to 'src/mbgl/tile/vector_tile_data.hpp')
-rw-r--r-- | src/mbgl/tile/vector_tile_data.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/tile/vector_tile_data.hpp b/src/mbgl/tile/vector_tile_data.hpp index 8e653386b8..a9ea08674f 100644 --- a/src/mbgl/tile/vector_tile_data.hpp +++ b/src/mbgl/tile/vector_tile_data.hpp @@ -21,8 +21,9 @@ public: ~VectorTileData(); void setNecessity(Necessity) final; - - static std::unique_ptr<GeometryTile> parseData(std::shared_ptr<const std::string>); + void setData(std::shared_ptr<const std::string> data, + optional<Timestamp> modified, + optional<Timestamp> expires); private: TileSource<VectorTileData> tileSource; |