diff options
Diffstat (limited to 'src/mbgl/style/layer_impl.hpp')
-rw-r--r-- | src/mbgl/style/layer_impl.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/style/layer_impl.hpp b/src/mbgl/style/layer_impl.hpp index 74d1f2b211..014fb60348 100644 --- a/src/mbgl/style/layer_impl.hpp +++ b/src/mbgl/style/layer_impl.hpp @@ -41,8 +41,9 @@ public: // Utility function for automatic layer grouping. virtual void stringifyLayout(rapidjson::Writer<rapidjson::StringBuffer>&) const = 0; - virtual LayerFactory* getLayerFactory() const noexcept = 0; + virtual const LayerTypeInfo* getTypeInfo() const noexcept = 0; + // Note: LayerType is deprecated, do not use it. const LayerType type; std::string id; std::string source; |