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