diff options
Diffstat (limited to 'include/mbgl/style/layers/custom_layer.hpp')
-rw-r--r-- | include/mbgl/style/layers/custom_layer.hpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/mbgl/style/layers/custom_layer.hpp b/include/mbgl/style/layers/custom_layer.hpp index 0d13001b91..5021df6a60 100644 --- a/include/mbgl/style/layers/custom_layer.hpp +++ b/include/mbgl/style/layers/custom_layer.hpp @@ -90,13 +90,9 @@ public: CustomLayerFactory(); // LayerFactory overrides. ~CustomLayerFactory() 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 CustomLayerFactory* get() noexcept; -private: - static CustomLayerFactory* instance; + const LayerTypeInfo* getTypeInfo() const noexcept final; + std::unique_ptr<style::Layer> createLayer(const std::string& id, const conversion::Convertible& value) final; }; } // namespace style |