diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-01-31 15:44:18 +0200 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-02-02 09:44:42 -0800 |
commit | 8a5bff8ee630673c6ebc496322eab94a41ae9353 (patch) | |
tree | 8bb6428cd9c3d591c237d77f94d4b0e56efb0ee0 /src/mbgl/style/possibly_evaluated_property_value.hpp | |
parent | 141e995806576364d185626176c1b993fc519291 (diff) | |
download | qtlocation-mapboxgl-8a5bff8ee630673c6ebc496322eab94a41ae9353.tar.gz |
[core] default value support in categorical function conversion
Diffstat (limited to 'src/mbgl/style/possibly_evaluated_property_value.hpp')
-rw-r--r-- | src/mbgl/style/possibly_evaluated_property_value.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mbgl/style/possibly_evaluated_property_value.hpp b/src/mbgl/style/possibly_evaluated_property_value.hpp index bb917442f6..8c3f1780a6 100644 --- a/src/mbgl/style/possibly_evaluated_property_value.hpp +++ b/src/mbgl/style/possibly_evaluated_property_value.hpp @@ -43,13 +43,6 @@ public: auto match(Ts&&... ts) const { return value.match(std::forward<Ts>(ts)...); } - - T evaluate(float z, const GeometryTileFeature& feature) const { - return value.match( - [&] (const T& t) { return t; }, - [&] (const SourceFunction<T>& t) { return t.evaluate(feature); }, - [&] (const CompositeFunction<T>& t) { return t.evaluate(z, feature); }); - } }; } // namespace style |