apply 5eb406c7df
to non PHOENIX_V3 code
This commit is contained in:
parent
5c15ba9e86
commit
cab6d239f2
1 changed files with 5 additions and 2 deletions
|
@ -117,8 +117,11 @@ struct close_path
|
||||||
void operator() (T path) const
|
void operator() (T path) const
|
||||||
{
|
{
|
||||||
BOOST_ASSERT( path!=0 );
|
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
|
struct cleanup
|
||||||
|
|
Loading…
Add table
Reference in a new issue