mirror of https://github.com/CGAL/cgal
Fix for Windows 'min/max' bug
This commit is contained in:
parent
f880735fbf
commit
ae3244e596
|
|
@ -174,7 +174,7 @@ MainWindow::on_actionInsertRandomPoints_triggered()
|
|||
Iso_rectangle_2 isor = convert(rect);
|
||||
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;
|
||||
const int number_of_points =
|
||||
QInputDialog::getInteger(this,
|
||||
|
|
|
|||
Loading…
Reference in New Issue