diff options
Diffstat (limited to 'include/mbgl/style/layer.hpp')
-rw-r--r-- | include/mbgl/style/layer.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mbgl/style/layer.hpp b/include/mbgl/style/layer.hpp index 646bad898c..11fd429be9 100644 --- a/include/mbgl/style/layer.hpp +++ b/include/mbgl/style/layer.hpp @@ -66,10 +66,10 @@ struct LayerTypeInfo { const enum class TileKind : uint8_t { Geometry, Raster, RasterDEM, NotRequired } tileKind; }; -struct LayerProperty { +struct StyleProperty { enum class Kind : uint8_t { Undefined, Constant, Expression, Transition }; - LayerProperty(Value value_, Kind kind_) : value(std::move(value_)), kind(kind_) {} - LayerProperty() = default; + StyleProperty(Value value_, Kind kind_) : value(std::move(value_)), kind(kind_) {} + StyleProperty() = default; const Value value; const Kind kind = Kind::Undefined; }; @@ -123,7 +123,7 @@ public: const conversion::Convertible& value) = 0; optional<conversion::Error> setVisibility(const conversion::Convertible& value); - virtual LayerProperty getPaintProperty(const std::string&) const = 0; + virtual StyleProperty getPaintProperty(const std::string&) const = 0; // Private implementation // TODO : We should not have public mutable data members. |