mirror of https://github.com/CGAL/cgal
do not use c++11 features
This commit is contained in:
parent
b394525171
commit
8b9897c393
|
|
@ -95,8 +95,7 @@ int main()
|
|||
for (int i=1;i<4; ++i)
|
||||
{
|
||||
Alpha_shape_3::Vertex_handle vh = f.first->vertex((f.second+i)%4);
|
||||
auto p = vids.insert( std::make_pair(vh, points.size()) );
|
||||
if (p.second)
|
||||
if (vids.insert( std::make_pair(vh, points.size()) ).second)
|
||||
points.push_back( vh->point() );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue