summaryrefslogtreecommitdiff
path: root/include/mbgl/style/layers/hillshade_layer.hpp
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 /include/mbgl/style/layers/hillshade_layer.hpp
parent3f314682fa2f2701c0d1c7e863013ce254a23afd (diff)
downloadqtlocation-mapboxgl-56808731b699d7750726cd88dd06516c63d7f2f0.tar.gz
Remove style::Layer::is()/as()
Diffstat (limited to 'include/mbgl/style/layers/hillshade_layer.hpp')
-rw-r--r--include/mbgl/style/layers/hillshade_layer.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/mbgl/style/layers/hillshade_layer.hpp b/include/mbgl/style/layers/hillshade_layer.hpp
index 4c18b5ed89..5c2b4276c3 100644
--- a/include/mbgl/style/layers/hillshade_layer.hpp
+++ b/include/mbgl/style/layers/hillshade_layer.hpp
@@ -74,10 +74,5 @@ protected:
Mutable<Layer::Impl> mutableBaseImpl() const final;
};
-template <>
-inline bool Layer::is<HillshadeLayer>() const {
- return getType() == LayerType::Hillshade;
-}
-
} // namespace style
} // namespace mbgl