remove warning

This commit is contained in:
Olivier Devillers 2011-10-24 07:57:36 +00:00
parent c239517f42
commit 1966561c46
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ int main() {
PG p2( Point( 250,-250), Point( 250,250),50);
Segm_iterator t1( p1, p2); // Segment generator.
Count_iterator t1_begin( t1); // Finite range.
Count_iterator t1_end( 50);
Count_iterator t1_end( t1, 50);
std::copy( t1_begin, t1_end, std::back_inserter(segs));
// A vertical like fan.
@ -38,7 +38,7 @@ int main() {
PG p4( Point(-250, 250), Point( 250, 250),50);
Segm_iterator t2( p3, p4);
Count_iterator t2_begin( t2);
Count_iterator t2_end( 50);
Count_iterator t2_end( t2, 50);
std::copy( t2_begin, t2_end, std::back_inserter(segs));
CGAL_assertion( segs.size() == 100);