diff --git a/src/mbgl/style/style_parser.cpp b/src/mbgl/style/style_parser.cpp index 795bcfa2d..f09709dff 100644 --- a/src/mbgl/style/style_parser.cpp +++ b/src/mbgl/style/style_parser.cpp @@ -316,17 +316,6 @@ std::tuple> StyleParser::parseFunction(JSVal value) { } -template -bool StyleParser::parseFunction(PropertyKey key, ClassProperties &klass, JSVal value) { - bool parsed; - Function function; - std::tie(parsed, function) = parseFunction(value); - if (parsed) { - klass.set(key, function); - } - return parsed; -} - template bool StyleParser::setProperty(JSVal value, const char *property_name, PropertyKey key, ClassProperties &klass) { bool parsed; diff --git a/src/mbgl/style/style_parser.hpp b/src/mbgl/style/style_parser.hpp index 951f55478..42e22f945 100644 --- a/src/mbgl/style/style_parser.hpp +++ b/src/mbgl/style/style_parser.hpp @@ -74,8 +74,6 @@ private: template std::tuple parseProperty(JSVal value, const char *property_name); - template - bool parseFunction(PropertyKey key, ClassProperties &klass, JSVal value); template std::tuple> parseFunction(JSVal value); template