diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2018-10-29 14:29:16 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2018-10-30 16:23:31 +0200 |
commit | 99e1a8a3df1a08464d8529b6988c1665b87c7c8b (patch) | |
tree | 4d45675ef4b54d00d7ef2a4dccbc211522515dce /src/mbgl/style/layers/custom_layer.cpp | |
parent | 2ef9580565e2125e07124d23c0bcf400c8736931 (diff) | |
download | qtlocation-mapboxgl-upstream/mikhail_drop_style_layer_cast.tar.gz |
Remove style::Layer::is()/as()upstream/mikhail_drop_style_layer_cast
Diffstat (limited to 'src/mbgl/style/layers/custom_layer.cpp')
-rw-r--r-- | src/mbgl/style/layers/custom_layer.cpp | 5 |
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 |