diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-06 16:59:27 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-06-10 12:42:14 +0200 |
commit | c3a8534a4308474a4b6cad09785d53ab43cb6f6a (patch) | |
tree | 3d18d2d72bfb216a49fe18dd17fe51b46e0da6db /src/mbgl/tile/geojson_tile_data.hpp | |
parent | 908f3f083244dc264e8e6a6869c543d456b2b13c (diff) | |
download | qtlocation-mapboxgl-c3a8534a4308474a4b6cad09785d53ab43cb6f6a.tar.gz |
[core] Push conditional initialization into subclasses
Diffstat (limited to 'src/mbgl/tile/geojson_tile_data.hpp')
-rw-r--r-- | src/mbgl/tile/geojson_tile_data.hpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mbgl/tile/geojson_tile_data.hpp b/src/mbgl/tile/geojson_tile_data.hpp index be1a38abe6..63a0b1b65d 100644 --- a/src/mbgl/tile/geojson_tile_data.hpp +++ b/src/mbgl/tile/geojson_tile_data.hpp @@ -2,11 +2,24 @@ #include <mbgl/tile/geometry_tile_data.hpp> +namespace mapbox { +namespace geojsonvt { +class GeoJSONVT; +} // namespace geojsonvt +} // namespace mapbox + namespace mbgl { +namespace style { +class UpdateParameters; +} + class GeoJSONTileData : public GeometryTileData { public: - using GeometryTileData::GeometryTileData; + GeoJSONTileData(const OverscaledTileID&, + std::string sourceID, + const style::UpdateParameters&, + mapbox::geojsonvt::GeoJSONVT*); }; } // namespace mbgl |