summaryrefslogtreecommitdiff
path: root/include/mbgl/style/function/identity_stops.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/function/identity_stops.hpp')
-rw-r--r--include/mbgl/style/function/identity_stops.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/mbgl/style/function/identity_stops.hpp b/include/mbgl/style/function/identity_stops.hpp
new file mode 100644
index 0000000000..4e199f2e15
--- /dev/null
+++ b/include/mbgl/style/function/identity_stops.hpp
@@ -0,0 +1,20 @@
+#pragma once
+
+#include <mbgl/util/feature.hpp>
+
+namespace mbgl {
+namespace style {
+
+template <class T>
+class IdentityStops {
+public:
+ T evaluate(const Value&) const;
+
+ friend bool operator==(const IdentityStops&,
+ const IdentityStops&) {
+ return true;
+ }
+};
+
+} // namespace style
+} // namespace mbgl