From 22b3834caa5fe3ae91cf957124a3f1ad1d165cee Mon Sep 17 00:00:00 2001 From: Jesse Bounds Date: Wed, 4 Jan 2017 07:35:25 -0800 Subject: [ios, macos] Add support for data-driven property functions --- include/mbgl/style/data_driven_property_value.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/mbgl/style/data_driven_property_value.hpp') diff --git a/include/mbgl/style/data_driven_property_value.hpp b/include/mbgl/style/data_driven_property_value.hpp index 4653224f15..3f9ac69436 100644 --- a/include/mbgl/style/data_driven_property_value.hpp +++ b/include/mbgl/style/data_driven_property_value.hpp @@ -26,6 +26,11 @@ private: return lhs.value == rhs.value; } + friend bool operator!=(const DataDrivenPropertyValue& lhs, + const DataDrivenPropertyValue& rhs) { + return !(lhs == rhs); + } + public: DataDrivenPropertyValue() = default; DataDrivenPropertyValue( T v) : value(std::move(v)) {} -- cgit v1.2.1