diff options
Diffstat (limited to 'include/mbgl/gl/custom_layer.hpp')
-rw-r--r-- | include/mbgl/gl/custom_layer.hpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/include/mbgl/gl/custom_layer.hpp b/include/mbgl/gl/custom_layer.hpp index 5dce484980..8b60af5d7f 100644 --- a/include/mbgl/gl/custom_layer.hpp +++ b/include/mbgl/gl/custom_layer.hpp @@ -66,21 +66,17 @@ public: CustomLayer(const std::string& id, std::unique_ptr<CustomLayerHost> host); + CustomLayer(const CustomLayer&) = delete; ~CustomLayer() final; - - // Dynamic properties - optional<conversion::Error> setProperty(const std::string& name, const conversion::Convertible& value) final; - StyleProperty getProperty(const std::string&) const final; - // Private implementation - class Impl; const Impl& impl() const; - Mutable<Impl> mutableImpl() const; - std::unique_ptr<Layer> cloneRef(const std::string& id) const final; - - CustomLayer(const CustomLayer&) = delete; +private: + optional<conversion::Error> setPropertyInternal(const std::string& name, + const conversion::Convertible& value) final; + StyleProperty getProperty(const std::string&) const final; + std::unique_ptr<Layer> cloneRef(const std::string& id) const final; Mutable<Layer::Impl> mutableBaseImpl() const final; }; |