diff options
Diffstat (limited to 'include/mbgl/style/sources/vector_source.hpp')
-rw-r--r-- | include/mbgl/style/sources/vector_source.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mbgl/style/sources/vector_source.hpp b/include/mbgl/style/sources/vector_source.hpp index 3d53362734..e16a6a68af 100644 --- a/include/mbgl/style/sources/vector_source.hpp +++ b/include/mbgl/style/sources/vector_source.hpp @@ -16,5 +16,10 @@ public: class Impl; }; +template <> +inline bool Source::is<VectorSource>() const { + return type == SourceType::Vector; +} + } // namespace style } // namespace mbgl |