remove unused

This commit is contained in:
Ansis Brammanis
2015-01-15 20:44:10 -05:00
parent c472528f9b
commit 221d256bea
2 changed files with 0 additions and 13 deletions

View File

@@ -316,17 +316,6 @@ std::tuple<bool, Function<T>> StyleParser::parseFunction(JSVal value) {
}
template <typename T>
bool StyleParser::parseFunction(PropertyKey key, ClassProperties &klass, JSVal value) {
bool parsed;
Function<T> function;
std::tie(parsed, function) = parseFunction<T>(value);
if (parsed) {
klass.set(key, function);
}
return parsed;
}
template <typename T>
bool StyleParser::setProperty(JSVal value, const char *property_name, PropertyKey key, ClassProperties &klass) {
bool parsed;

View File

@@ -74,8 +74,6 @@ private:
template <typename T>
std::tuple<bool, T> parseProperty(JSVal value, const char *property_name);
template <typename T>
bool parseFunction(PropertyKey key, ClassProperties &klass, JSVal value);
template <typename T>
std::tuple<bool, Function<T>> parseFunction(JSVal value);
template <typename T>