enable [attr!=null] filtering - which finishes #794 and closes #1642 - refs #796

This commit is contained in:
Dane Springmeyer 2012-12-11 19:37:46 -08:00
parent 2353deced4
commit 22b159d93d

View file

@ -182,22 +182,21 @@ struct not_equals
bool operator() (value_null, value_null) const
{
// TODO - needs review - https://github.com/mapnik/mapnik/issues/794
return false;
}
template <typename T>
bool operator() (value_null, const T &) const
{
// TODO - needs review - https://github.com/mapnik/mapnik/issues/794
return false;
// https://github.com/mapnik/mapnik/issues/1642
return true;
}
template <typename T>
bool operator() (const T &, value_null) const
{
// TODO - needs review - https://github.com/mapnik/mapnik/issues/794
return false;
// https://github.com/mapnik/mapnik/issues/1642
return true;
}
};