diff --git a/include/mapnik/value.hpp b/include/mapnik/value.hpp index d325a3390..cfe807d7a 100644 --- a/include/mapnik/value.hpp +++ b/include/mapnik/value.hpp @@ -577,6 +577,11 @@ struct negate : public boost::static_visitor return val; } + value_type operator() (bool val) const + { + return val ? -1 : 0; + } + value_type operator() (UnicodeString const& ustr) const { UnicodeString inplace(ustr);