summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/style_sourced_annotation_impl.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-12-19 17:10:51 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-01-04 17:38:33 -0800
commit0c0064c050396eae8dad92e5097692537405704a (patch)
tree5eb3c975fc4295b7fcbc244258f8facbc1f7e30a /src/mbgl/annotation/style_sourced_annotation_impl.cpp
parent59803d3025683a255737b5ae29bd7fc531a975a3 (diff)
downloadqtlocation-mapboxgl-0c0064c050396eae8dad92e5097692537405704a.tar.gz
[core] Get rid of user-specified refs
Diffstat (limited to 'src/mbgl/annotation/style_sourced_annotation_impl.cpp')
-rw-r--r--src/mbgl/annotation/style_sourced_annotation_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/annotation/style_sourced_annotation_impl.cpp b/src/mbgl/annotation/style_sourced_annotation_impl.cpp
index d3212da12d..cb664cf15d 100644
--- a/src/mbgl/annotation/style_sourced_annotation_impl.cpp
+++ b/src/mbgl/annotation/style_sourced_annotation_impl.cpp
@@ -24,12 +24,12 @@ void StyleSourcedAnnotationImpl::updateStyle(Style& style) const {
return;
if (sourceLayer->is<LineLayer>()) {
- std::unique_ptr<Layer> layer = sourceLayer->baseImpl->copy(layerID, "", AnnotationManager::SourceID);
+ std::unique_ptr<Layer> layer = sourceLayer->baseImpl->copy(layerID, AnnotationManager::SourceID);
layer->as<LineLayer>()->setSourceLayer(layerID);
layer->as<LineLayer>()->setVisibility(VisibilityType::Visible);
style.addLayer(std::move(layer), sourceLayer->getID());
} else if (sourceLayer->is<FillLayer>()) {
- std::unique_ptr<Layer> layer = sourceLayer->baseImpl->copy(layerID, "", AnnotationManager::SourceID);
+ std::unique_ptr<Layer> layer = sourceLayer->baseImpl->copy(layerID, AnnotationManager::SourceID);
layer->as<FillLayer>()->setSourceLayer(layerID);
layer->as<FillLayer>()->setVisibility(VisibilityType::Visible);
style.addLayer(std::move(layer), sourceLayer->getID());