summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layer_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/style/layer_impl.cpp
parent59803d3025683a255737b5ae29bd7fc531a975a3 (diff)
downloadqtlocation-mapboxgl-0c0064c050396eae8dad92e5097692537405704a.tar.gz
[core] Get rid of user-specified refs
Diffstat (limited to 'src/mbgl/style/layer_impl.cpp')
-rw-r--r--src/mbgl/style/layer_impl.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mbgl/style/layer_impl.cpp b/src/mbgl/style/layer_impl.cpp
index 7a0195c55c..5840318724 100644
--- a/src/mbgl/style/layer_impl.cpp
+++ b/src/mbgl/style/layer_impl.cpp
@@ -4,19 +4,13 @@ namespace mbgl {
namespace style {
std::unique_ptr<Layer> Layer::Impl::copy(const std::string& id_,
- const std::string& ref_,
const std::string& source_) const {
std::unique_ptr<Layer> result = clone();
result->baseImpl->id = id_;
- result->baseImpl->ref = ref_;
result->baseImpl->source = source_;
return result;
}
-const std::string& Layer::Impl::bucketName() const {
- return ref.empty() ? id : ref;
-}
-
bool Layer::Impl::hasRenderPass(RenderPass pass) const {
return bool(passes & pass);
}