summaryrefslogtreecommitdiff
path: root/src/mbgl/style/sources/vector_source.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-14 10:39:40 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-14 11:25:45 -0700
commitb222689de835a8b83c387aff5e5f500ce17768e5 (patch)
tree2d2d381b11f6e69aa0659a6cbab36e3d878d8b22 /src/mbgl/style/sources/vector_source.cpp
parent9b0093e32dece62abc6fd7add789613871252a58 (diff)
downloadqtlocation-mapboxgl-b222689de835a8b83c387aff5e5f500ce17768e5.tar.gz
[core] Pass geojsonvt only to GeoJSONSource
Diffstat (limited to 'src/mbgl/style/sources/vector_source.cpp')
-rw-r--r--src/mbgl/style/sources/vector_source.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mbgl/style/sources/vector_source.cpp b/src/mbgl/style/sources/vector_source.cpp
index 6cbb667c40..2c283057df 100644
--- a/src/mbgl/style/sources/vector_source.cpp
+++ b/src/mbgl/style/sources/vector_source.cpp
@@ -6,9 +6,8 @@ namespace style {
VectorSource::VectorSource(std::string id_,
std::string url_,
uint16_t tileSize_,
- std::unique_ptr<Tileset>&& tileset_,
- std::unique_ptr<mapbox::geojsonvt::GeoJSONVT>&& geojsonvt_)
- : Source(SourceType::Vector, std::move(id_), std::move(url_), tileSize_, std::move(tileset_), std::move(geojsonvt_)) {
+ std::unique_ptr<Tileset>&& tileset_)
+ : Source(SourceType::Vector, std::move(id_), std::move(url_), tileSize_, std::move(tileset_)) {
}
} // namespace style