summaryrefslogtreecommitdiff
path: root/include/mbgl/style/layers/hillshade_layer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/layers/hillshade_layer.hpp')
-rw-r--r--include/mbgl/style/layers/hillshade_layer.hpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/include/mbgl/style/layers/hillshade_layer.hpp b/include/mbgl/style/layers/hillshade_layer.hpp
index 978670f8a9..f840386907 100644
--- a/include/mbgl/style/layers/hillshade_layer.hpp
+++ b/include/mbgl/style/layers/hillshade_layer.hpp
@@ -74,15 +74,13 @@ protected:
Mutable<Layer::Impl> mutableBaseImpl() const final;
};
-class HillshadeLayerFactory : public LayerFactory {
-public:
- HillshadeLayerFactory();
- ~HillshadeLayerFactory() 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 HillshadeLayerFactory : 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