From 221d256beae6ff06754ee52feffbfc2953df699b Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Thu, 15 Jan 2015 20:44:10 -0500 Subject: [PATCH] remove unused --- src/mbgl/style/style_parser.cpp | 11 ----------- src/mbgl/style/style_parser.hpp | 2 -- 2 files changed, 13 deletions(-) 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