diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-05-02 15:25:48 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-05-02 17:44:18 +0200 |
commit | 2489afdd0db97de0664198f5ae64bd94db6b6fc7 (patch) | |
tree | a7a52194daab971f58f60ef21bd45b1a0d517f4b /include/mbgl/style/light.hpp | |
parent | a48152a9811a856e467eff3e396a76a059558fb1 (diff) | |
download | qtlocation-mapboxgl-2489afdd0db97de0664198f5ae64bd94db6b6fc7.tar.gz |
[build] change style code generator to sort properties alphabetically
JSON keys in our style specification don't have a defined order. This change sorts them alphabetically so that we can rely on the order remaining them same across code generation runs.
Diffstat (limited to 'include/mbgl/style/light.hpp')
-rw-r--r-- | include/mbgl/style/light.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/mbgl/style/light.hpp b/include/mbgl/style/light.hpp index c82792b28d..0b65df9f1b 100644 --- a/include/mbgl/style/light.hpp +++ b/include/mbgl/style/light.hpp @@ -23,12 +23,6 @@ public: void setAnchorTransition(const TransitionOptions&); TransitionOptions getAnchorTransition() const; - static Position getDefaultPosition(); - PropertyValue<Position> getPosition() const; - void setPosition(PropertyValue<Position>); - void setPositionTransition(const TransitionOptions&); - TransitionOptions getPositionTransition() const; - static Color getDefaultColor(); PropertyValue<Color> getColor() const; void setColor(PropertyValue<Color>); @@ -41,6 +35,12 @@ public: void setIntensityTransition(const TransitionOptions&); TransitionOptions getIntensityTransition() const; + static Position getDefaultPosition(); + PropertyValue<Position> getPosition() const; + void setPosition(PropertyValue<Position>); + void setPositionTransition(const TransitionOptions&); + TransitionOptions getPositionTransition() const; + class Impl; Immutable<Impl> impl; Mutable<Impl> mutableImpl() const; |