summaryrefslogtreecommitdiff
path: root/src/mbgl/style
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2018-10-29 14:29:16 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2018-10-31 11:22:46 +0200
commit56808731b699d7750726cd88dd06516c63d7f2f0 (patch)
tree7839dffdd0eec33f6ebd2cfa9195f7408ac6c289 /src/mbgl/style
parent3f314682fa2f2701c0d1c7e863013ce254a23afd (diff)
downloadqtlocation-mapboxgl-56808731b699d7750726cd88dd06516c63d7f2f0.tar.gz
Remove style::Layer::is()/as()
Diffstat (limited to 'src/mbgl/style')
-rw-r--r--src/mbgl/style/layers/custom_layer.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mbgl/style/layers/custom_layer.cpp b/src/mbgl/style/layers/custom_layer.cpp
index a31586f708..90b97104a0 100644
--- a/src/mbgl/style/layers/custom_layer.cpp
+++ b/src/mbgl/style/layers/custom_layer.cpp
@@ -39,10 +39,5 @@ Mutable<Layer::Impl> CustomLayer::mutableBaseImpl() const {
return staticMutableCast<Layer::Impl>(mutableImpl());
}
-template <>
-bool Layer::is<CustomLayer>() const {
- return getType() == LayerType::Custom;
-}
-
} // namespace style
} // namespace mbgl