diff options
Diffstat (limited to 'include/mbgl/style/layers/heatmap_layer.hpp')
-rw-r--r-- | include/mbgl/style/layers/heatmap_layer.hpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/mbgl/style/layers/heatmap_layer.hpp b/include/mbgl/style/layers/heatmap_layer.hpp index 3630dafba9..d1760100ad 100644 --- a/include/mbgl/style/layers/heatmap_layer.hpp +++ b/include/mbgl/style/layers/heatmap_layer.hpp @@ -72,15 +72,11 @@ protected: class HeatmapLayerFactory : public LayerFactory { public: HeatmapLayerFactory(); - // LayerFactory overrides. ~HeatmapLayerFactory() 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 HeatmapLayerFactory* get() noexcept; -private: - static HeatmapLayerFactory* 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 |