diff options
Diffstat (limited to 'include/mbgl/style/layers/raster_layer.hpp')
-rw-r--r-- | include/mbgl/style/layers/raster_layer.hpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/mbgl/style/layers/raster_layer.hpp b/include/mbgl/style/layers/raster_layer.hpp index 86f57f3d12..4b63570590 100644 --- a/include/mbgl/style/layers/raster_layer.hpp +++ b/include/mbgl/style/layers/raster_layer.hpp @@ -89,15 +89,11 @@ protected: class RasterLayerFactory : public LayerFactory { public: RasterLayerFactory(); - // LayerFactory overrides. ~RasterLayerFactory() override; - bool supportsType(const std::string& type) const noexcept final; - std::unique_ptr<style::Layer> createLayer(const std::string& id, const conversion::Convertible& value) final; - - static RasterLayerFactory* get() noexcept; -private: - static RasterLayerFactory* instance; + // LayerFactory overrides. + const LayerTypeInfo* getTypeInfo() const noexcept final; + std::unique_ptr<style::Layer> createLayer(const std::string& id, const conversion::Convertible& value) final; }; } // namespace style |