diff options
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/style/layer.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/util/color.hpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/style/layer.hpp b/include/mbgl/style/layer.hpp index dc02cb09b2..5936422c74 100644 --- a/include/mbgl/style/layer.hpp +++ b/include/mbgl/style/layer.hpp @@ -116,6 +116,8 @@ public: // Private implementation const std::unique_ptr<Impl> baseImpl; + + friend std::string layoutKey(const Layer&); }; } // namespace style diff --git a/include/mbgl/util/color.hpp b/include/mbgl/util/color.hpp index 18e4747069..300d7fae82 100644 --- a/include/mbgl/util/color.hpp +++ b/include/mbgl/util/color.hpp @@ -36,6 +36,7 @@ public: static Color blue() { return { 0.0f, 0.0f, 1.0f, 1.0f }; }; static optional<Color> parse(const std::string&); + std::string stringify() const; }; inline bool operator==(const Color& colorA, const Color& colorB) { |