is_empty - fix implementation
This commit is contained in:
parent
e29ca884df
commit
335ce8e50b
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ struct geometry_is_empty
|
|||
|
||||
bool operator() (mapnik::geometry::polygon<T> const& geom) const
|
||||
{
|
||||
return geom.empty();
|
||||
return geom.empty() || geom.front().empty();
|
||||
}
|
||||
|
||||
bool operator() (mapnik::geometry::multi_point<T> const& geom) const
|
||||
|
|
Loading…
Add table
Reference in a new issue