mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
apply 5eb406c7df to non PHOENIX_V3 code
This commit is contained in:
parent
5c15ba9e86
commit
cab6d239f2
@ -117,8 +117,11 @@ struct close_path
|
||||
void operator() (T path) const
|
||||
{
|
||||
BOOST_ASSERT( path!=0 );
|
||||
path->close_path();
|
||||
}
|
||||
if (path->size() > 2u) // to form a polygon ring we need at least 3 vertices
|
||||
{
|
||||
path->close_path();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
struct cleanup
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user