summaryrefslogtreecommitdiff
path: root/src/mbgl/style/property_parsing.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/property_parsing.hpp')
-rw-r--r--src/mbgl/style/property_parsing.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mbgl/style/property_parsing.hpp b/src/mbgl/style/property_parsing.hpp
index 478e192898..182636df5c 100644
--- a/src/mbgl/style/property_parsing.hpp
+++ b/src/mbgl/style/property_parsing.hpp
@@ -18,9 +18,6 @@ namespace detail {
template <typename T>
optional<T> parseProperty(const char* name, const JSVal&);
-template <typename T>
-optional<T> parseProperty(const char* name, const JSVal&, const JSVal& transition);
-
}
template <typename T>
@@ -35,23 +32,6 @@ void parseProperty(const char* name, PropertyKey key, ClassProperties& propertie
}
}
-template <typename T>
-void parseProperty(const char* name, PropertyKey key, ClassProperties& properties, const JSVal& value, const char* transitionName) {
- if (!value.HasMember(name))
- return;
-
- const JSVal& noTransition = JSVal { rapidjson::kObjectType };
-
- const optional<T> res = detail::parseProperty<T>(name, value[name],
- value.HasMember(transitionName)
- ? value[transitionName]
- : noTransition);
-
- if (res) {
- properties.set(key, *res);
- }
-}
-
}
#endif