mirror of https://github.com/CGAL/cgal
remove warning
This commit is contained in:
parent
c239517f42
commit
1966561c46
|
|
@ -30,7 +30,7 @@ int main() {
|
||||||
PG p2( Point( 250,-250), Point( 250,250),50);
|
PG p2( Point( 250,-250), Point( 250,250),50);
|
||||||
Segm_iterator t1( p1, p2); // Segment generator.
|
Segm_iterator t1( p1, p2); // Segment generator.
|
||||||
Count_iterator t1_begin( t1); // Finite range.
|
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));
|
std::copy( t1_begin, t1_end, std::back_inserter(segs));
|
||||||
|
|
||||||
// A vertical like fan.
|
// A vertical like fan.
|
||||||
|
|
@ -38,7 +38,7 @@ int main() {
|
||||||
PG p4( Point(-250, 250), Point( 250, 250),50);
|
PG p4( Point(-250, 250), Point( 250, 250),50);
|
||||||
Segm_iterator t2( p3, p4);
|
Segm_iterator t2( p3, p4);
|
||||||
Count_iterator t2_begin( t2);
|
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));
|
std::copy( t2_begin, t2_end, std::back_inserter(segs));
|
||||||
|
|
||||||
CGAL_assertion( segs.size() == 100);
|
CGAL_assertion( segs.size() == 100);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue