diff options
Diffstat (limited to 'src/mbgl/layer/custom_layer.hpp')
-rw-r--r-- | src/mbgl/layer/custom_layer.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mbgl/layer/custom_layer.hpp b/src/mbgl/layer/custom_layer.hpp index 315d158802..b54ac7481e 100644 --- a/src/mbgl/layer/custom_layer.hpp +++ b/src/mbgl/layer/custom_layer.hpp @@ -38,6 +38,11 @@ private: void* context = nullptr; }; +template <> +inline bool StyleLayer::is<CustomLayer>() const { + return type == Type::Custom; +} + } // namespace mbgl #endif |