From 99e1a8a3df1a08464d8529b6988c1665b87c7c8b Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Mon, 29 Oct 2018 14:29:16 +0200 Subject: Remove style::Layer::is()/as() --- src/mbgl/style/layers/custom_layer.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mbgl/style/layers/custom_layer.cpp') 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 CustomLayer::mutableBaseImpl() const { return staticMutableCast(mutableImpl()); } -template <> -bool Layer::is() const { - return getType() == LayerType::Custom; -} - } // namespace style } // namespace mbgl -- cgit v1.2.1