summaryrefslogtreecommitdiff
path: root/src/mbgl/style/sources/geojson_source.cpp
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2017-10-17 18:32:11 -0700
committerDane Springmeyer <dane@mapbox.com>2017-10-17 18:32:11 -0700
commit2c01c867e64304164ed12e0159d86e22fc103d76 (patch)
treea4c445d9c8882df06e5e4a01121c826a63fd1c3b /src/mbgl/style/sources/geojson_source.cpp
parent10f7af19ce1ec61f37459f9cd75e2a0c89a0c790 (diff)
downloadqtlocation-mapboxgl-upstream/mapbox-feature.tar.gz
adapt to decoupled mapbox::featureupstream/mapbox-feature
Diffstat (limited to 'src/mbgl/style/sources/geojson_source.cpp')
-rw-r--r--src/mbgl/style/sources/geojson_source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/sources/geojson_source.cpp b/src/mbgl/style/sources/geojson_source.cpp
index 4e3478322d..0cd5c2bbff 100644
--- a/src/mbgl/style/sources/geojson_source.cpp
+++ b/src/mbgl/style/sources/geojson_source.cpp
@@ -67,7 +67,7 @@ void GeoJSONSource::loadDescription(FileSource& fileSource) {
error.message.c_str());
// Create an empty GeoJSON VT object to make sure we're not infinitely waiting for
// tiles to load.
- baseImpl = makeMutable<Impl>(impl(), GeoJSON{ FeatureCollection{} });
+ baseImpl = makeMutable<Impl>(impl(), GeoJSON{ GeoJSONFeatureCollection{} });
} else {
baseImpl = makeMutable<Impl>(impl(), *geoJSON);
}