mirror of https://github.com/CGAL/cgal
Cleaned up
This commit is contained in:
parent
89e5200b5b
commit
7cf9a11936
|
|
@ -543,17 +543,17 @@ public:
|
|||
|
||||
size_t i = 0;
|
||||
for (auto it = container.begin(); it != container.end(); ++it) {
|
||||
const X_monotone_curve_2* xcv = boost::get<X_monotone_curve_2>(*it);
|
||||
if (xcv) {
|
||||
if (const auto* xcv = boost::get<X_monotone_curve_2>(*it)) {
|
||||
std::cout << " result[" << i++ << "]: xcv: " << *xcv << std::endl;
|
||||
continue;
|
||||
}
|
||||
|
||||
const Point_2* p = boost::get<Point_2>(*it);
|
||||
if (p) {
|
||||
if (const Point_2* p = boost::get<Point_2>(*it)) {
|
||||
std::cout << " result[" << i++ << "]: p: " << *p << std::endl;
|
||||
continue;
|
||||
}
|
||||
|
||||
CGAL_error();
|
||||
}
|
||||
|
||||
for (auto it = container.begin(); it != container.end(); ++it) *oi++ = *it;
|
||||
|
|
|
|||
Loading…
Reference in New Issue