From 8b78398190a5a7957d507c33b41af841e112a91b Mon Sep 17 00:00:00 2001 From: Mikhail Pozdnyakov Date: Wed, 3 Jul 2019 12:09:28 +0300 Subject: [core] Remove down-casting of render sources --- src/mbgl/annotation/render_annotation_source.hpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mbgl/annotation/render_annotation_source.hpp') diff --git a/src/mbgl/annotation/render_annotation_source.hpp b/src/mbgl/annotation/render_annotation_source.hpp index e5d5130446..948a0b0d8d 100644 --- a/src/mbgl/annotation/render_annotation_source.hpp +++ b/src/mbgl/annotation/render_annotation_source.hpp @@ -29,9 +29,4 @@ private: const AnnotationSource::Impl& impl() const; }; -template <> -inline bool RenderSource::is() const { - return baseImpl->type == style::SourceType::Annotations; -} - } // namespace mbgl -- cgit v1.2.1