diff options
Diffstat (limited to 'include/mbgl/style/layers/background_layer.hpp')
-rw-r--r-- | include/mbgl/style/layers/background_layer.hpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/mbgl/style/layers/background_layer.hpp b/include/mbgl/style/layers/background_layer.hpp index e188a9ba2c..b471d8613e 100644 --- a/include/mbgl/style/layers/background_layer.hpp +++ b/include/mbgl/style/layers/background_layer.hpp @@ -56,15 +56,13 @@ protected: Mutable<Layer::Impl> mutableBaseImpl() const final; }; -class BackgroundLayerFactory : public LayerFactory { -public: - BackgroundLayerFactory(); - ~BackgroundLayerFactory() override; +} // namespace style - // LayerFactory overrides. - const LayerTypeInfo* getTypeInfo() const noexcept final; - std::unique_ptr<style::Layer> createLayer(const std::string& id, const conversion::Convertible& value) final; +class BackgroundLayerFactory : public LayerFactory { +protected: + 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 |