diff options
Diffstat (limited to 'src/mbgl/style/conversion/stringify.hpp')
-rw-r--r-- | src/mbgl/style/conversion/stringify.hpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mbgl/style/conversion/stringify.hpp b/src/mbgl/style/conversion/stringify.hpp index 77a39c51f9..3d188b6390 100644 --- a/src/mbgl/style/conversion/stringify.hpp +++ b/src/mbgl/style/conversion/stringify.hpp @@ -2,7 +2,6 @@ #include <mbgl/style/filter.hpp> #include <mbgl/style/property_value.hpp> -#include <mbgl/style/data_driven_property_value.hpp> #include <mbgl/util/enum.hpp> #include <mbgl/util/color.hpp> #include <mbgl/util/feature.hpp> @@ -155,19 +154,6 @@ void stringify(Writer& writer, const PropertyValue<T>& value) { } } -template <class Writer, class T> -void stringify(Writer& writer, const DataDrivenPropertyValue<T>& v) { - v.evaluate([&] (const auto& v_) { stringify(writer, v_); }); -} - -template <class Property, class Writer, class T> -void stringify(Writer& writer, const DataDrivenPropertyValue<T>& value) { - if (!value.isUndefined()) { - writer.Key(Property::key); - stringify(writer, value); - } -} - } // namespace conversion } // namespace style } // namespace mbgl |