Fix for Windows 'min/max' bug

This commit is contained in:
Andreas Fabri 2012-01-18 11:15:52 +00:00
parent f880735fbf
commit ae3244e596
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ MainWindow::on_actionInsertRandomPoints_triggered()
Iso_rectangle_2 isor = convert(rect); Iso_rectangle_2 isor = convert(rect);
double width = isor.xmax() - isor.xmin(); double width = isor.xmax() - isor.xmin();
CGAL::Random_points_in_iso_rectangle_2<Point_2> pg(isor.min(), isor.max()); CGAL::Random_points_in_iso_rectangle_2<Point_2> pg((isor.min)(), (isor.max)());
bool ok = false; bool ok = false;
const int number_of_points = const int number_of_points =
QInputDialog::getInteger(this, QInputDialog::getInteger(this,