summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-07-03 12:09:28 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-07-04 16:56:43 +0300
commit8b78398190a5a7957d507c33b41af841e112a91b (patch)
treeef549563154e35e6fdcd980edc0cd557a5c58cc0 /src/mbgl/annotation
parent115512153064276d23bb865d1947e669eb022b50 (diff)
downloadqtlocation-mapboxgl-8b78398190a5a7957d507c33b41af841e112a91b.tar.gz
[core] Remove down-casting of render sources
Diffstat (limited to 'src/mbgl/annotation')
-rw-r--r--src/mbgl/annotation/render_annotation_source.hpp5
1 files changed, 0 insertions, 5 deletions
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<RenderAnnotationSource>() const {
- return baseImpl->type == style::SourceType::Annotations;
-}
-
} // namespace mbgl