summaryrefslogtreecommitdiff
path: root/include/mbgl
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-12-19 17:10:51 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-01-04 17:38:33 -0800
commit0c0064c050396eae8dad92e5097692537405704a (patch)
tree5eb3c975fc4295b7fcbc244258f8facbc1f7e30a /include/mbgl
parent59803d3025683a255737b5ae29bd7fc531a975a3 (diff)
downloadqtlocation-mapboxgl-0c0064c050396eae8dad92e5097692537405704a.tar.gz
[core] Get rid of user-specified refs
Diffstat (limited to 'include/mbgl')
-rw-r--r--include/mbgl/style/layer.hpp2
-rw-r--r--include/mbgl/util/color.hpp1
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) {