summaryrefslogtreecommitdiff
path: root/include/mbgl/style/types.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-04-25 13:59:09 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-02 14:51:39 -0700
commitcadc617c762d453cca2c9bac41f9c1db984c5fac (patch)
tree5a15363a54ef81b0106693dd83c70bfdf7761393 /include/mbgl/style/types.hpp
parentba4a8a97316d65ab595bb7edf759f463bbd10049 (diff)
downloadqtlocation-mapboxgl-cadc617c762d453cca2c9bac41f9c1db984c5fac.tar.gz
[core] Introduce PropertyValue<T>
PropertyValue<T> represents the three possible types of style property value: undefined, constant, or function.
Diffstat (limited to 'include/mbgl/style/types.hpp')
-rw-r--r--include/mbgl/style/types.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/mbgl/style/types.hpp b/include/mbgl/style/types.hpp
index ea09ccfb0c..56f3570357 100644
--- a/include/mbgl/style/types.hpp
+++ b/include/mbgl/style/types.hpp
@@ -27,9 +27,6 @@ public:
using Stop = std::pair<float, T>;
using Stops = std::vector<Stop>;
- Function(const T& constant)
- : stops({{ 0, constant }}) {}
-
explicit Function(const Stops& stops_, float base_)
: base(base_), stops(stops_) {}