diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-05-26 13:12:23 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-05-26 13:12:23 -0700 |
commit | 8ace0d37d10e8174268f259dec38cf88e2494ef0 (patch) | |
tree | 40fa3e7f2de753583d959418595fe4afdd52c398 /src/mbgl/annotation/annotation_manager.cpp | |
parent | 27f9a85feaab2cb075c88e5cca73a2267a858444 (diff) | |
download | qtlocation-mapboxgl-8ace0d37d10e8174268f259dec38cf88e2494ef0.tar.gz |
[core] AnnotationTileLayer vends its own name (#5163)
Fixes #5159.
Diffstat (limited to 'src/mbgl/annotation/annotation_manager.cpp')
-rw-r--r-- | src/mbgl/annotation/annotation_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/annotation/annotation_manager.cpp b/src/mbgl/annotation/annotation_manager.cpp index 1febc757a4..e5f43eb3b6 100644 --- a/src/mbgl/annotation/annotation_manager.cpp +++ b/src/mbgl/annotation/annotation_manager.cpp @@ -90,7 +90,7 @@ std::unique_ptr<AnnotationTile> AnnotationManager::getTile(const CanonicalTileID AnnotationTileLayer& pointLayer = *tile->layers.emplace( PointLayerID, - std::make_unique<AnnotationTileLayer>()).first->second; + std::make_unique<AnnotationTileLayer>(PointLayerID)).first->second; LatLngBounds tileBounds(tileID); |