remove c++11 feature that should not be used in 2.3.x branch
This commit is contained in:
parent
f8ea04f85f
commit
a602518a10
1 changed files with 4 additions and 2 deletions
|
@ -109,9 +109,11 @@ struct not_empty
|
|||
typedef bool result_type;
|
||||
result_type operator() (geometry_container const& cont) const
|
||||
{
|
||||
for (auto const& geom : cont)
|
||||
geometry_container::const_iterator itr = cont.begin();
|
||||
geometry_container::const_iterator end = cont.end();
|
||||
for ( ; itr != end; ++itr)
|
||||
{
|
||||
if (geom.size() > 0) return true;
|
||||
if (itr->size() > 0) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue