From 0c0064c050396eae8dad92e5097692537405704a Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 19 Dec 2016 17:10:51 -0800 Subject: [core] Get rid of user-specified refs --- include/mbgl/style/layer.hpp | 2 ++ include/mbgl/util/color.hpp | 1 + 2 files changed, 3 insertions(+) (limited to 'include') 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 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 parse(const std::string&); + std::string stringify() const; }; inline bool operator==(const Color& colorA, const Color& colorB) { -- cgit v1.2.1