From 56808731b699d7750726cd88dd06516c63d7f2f0 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