diff --git a/include/mapnik/value.hpp b/include/mapnik/value.hpp index 73e730787..91cbd7d46 100644 --- a/include/mapnik/value.hpp +++ b/include/mapnik/value.hpp @@ -294,11 +294,10 @@ namespace mapnik { return lhs <= rhs; } - template bool operator()(UnicodeString const& lhs, UnicodeString const& rhs ) const { - return lhs <= rhs; + return lhs <= rhs; } bool operator() (value_null, value_null) const @@ -419,6 +418,11 @@ namespace mapnik { return lhs / rhs; } + value_type operator() (bool lhs, bool rhs ) const + { + return false; + } + value_type operator() (UnicodeString const& lhs, UnicodeString const&) const { @@ -458,6 +462,12 @@ namespace mapnik { return lhs; } + value_type operator() (bool lhs, + bool rhs) const + { + return false; + } + value_type operator() (double lhs, int rhs) const { return fmod(lhs, rhs);