diff --git a/include/mapnik/value_types.hpp b/include/mapnik/value_types.hpp index 4d5501748..e9b8d5d15 100644 --- a/include/mapnik/value_types.hpp +++ b/include/mapnik/value_types.hpp @@ -53,12 +53,26 @@ struct value_null return true; } + template + bool operator==(T const& other) const + { + boost::ignore_unused_variable_warning(other); + return false; + } + bool operator!=(value_null const& other) const { boost::ignore_unused_variable_warning(other); return false; } + template + bool operator!=(T const& other) const + { + boost::ignore_unused_variable_warning(other); + return true; + } + template value_null operator+ (T const& other) const {