[core] Pass geojsonvt only to GeoJSONSource

This commit is contained in:
John Firebaugh
2016-06-14 10:39:40 -07:00
parent 9b0093e32d
commit b222689de8
12 changed files with 30 additions and 34 deletions

View File

@@ -5,9 +5,8 @@ namespace mbgl {
AnnotationSource::AnnotationSource(std::string id_,
std::string url_,
uint16_t tileSize_,
std::unique_ptr<Tileset>&& tileset_,
std::unique_ptr<mapbox::geojsonvt::GeoJSONVT>&& geojsonvt_)
: Source(SourceType::Annotations, std::move(id_), std::move(url_), tileSize_, std::move(tileset_), std::move(geojsonvt_)) {
std::unique_ptr<Tileset>&& tileset_)
: Source(SourceType::Annotations, std::move(id_), std::move(url_), tileSize_, std::move(tileset_)) {
}
} // namespace mbgl