diff options
Diffstat (limited to 'include/mbgl/style/layers/custom_layer.hpp')
-rw-r--r-- | include/mbgl/style/layers/custom_layer.hpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/mbgl/style/layers/custom_layer.hpp b/include/mbgl/style/layers/custom_layer.hpp index 5021df6a60..d204a782f2 100644 --- a/include/mbgl/style/layers/custom_layer.hpp +++ b/include/mbgl/style/layers/custom_layer.hpp @@ -85,15 +85,13 @@ public: Mutable<Layer::Impl> mutableBaseImpl() const final; }; +} // namespace style + class CustomLayerFactory : public LayerFactory { -public: - CustomLayerFactory(); // LayerFactory overrides. - ~CustomLayerFactory() override; - - const LayerTypeInfo* getTypeInfo() const noexcept final; - std::unique_ptr<style::Layer> createLayer(const std::string& id, const conversion::Convertible& value) final; + const style::LayerTypeInfo* getTypeInfo() const noexcept final; + std::unique_ptr<style::Layer> createLayer(const std::string& id, const style::conversion::Convertible& value) noexcept final; + std::unique_ptr<RenderLayer> createRenderLayer(Immutable<style::Layer::Impl>) noexcept final; }; -} // namespace style } // namespace mbgl |