From ae3244e596d5e171b85135ae469a13484d91dc3a Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 18 Jan 2012 11:15:52 +0000 Subject: [PATCH] Fix for Windows 'min/max' bug --- GraphicsView/demo/Apollonius_graph_2/Apollonius_graph_2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GraphicsView/demo/Apollonius_graph_2/Apollonius_graph_2.cpp b/GraphicsView/demo/Apollonius_graph_2/Apollonius_graph_2.cpp index 8c25f83e8d0..88f45fa7d9a 100644 --- a/GraphicsView/demo/Apollonius_graph_2/Apollonius_graph_2.cpp +++ b/GraphicsView/demo/Apollonius_graph_2/Apollonius_graph_2.cpp @@ -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 pg(isor.min(), isor.max()); + CGAL::Random_points_in_iso_rectangle_2 pg((isor.min)(), (isor.max)()); bool ok = false; const int number_of_points = QInputDialog::getInteger(this,