From ec656e280e965350dad467254f482ebd1f0c0c66 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Tue, 12 Mar 2019 12:08:00 +0100 Subject: [PATCH] Use c++11 init method for cursor to avoid msvc bug due to "most vexing parse" --- Polyhedron/demo/Polyhedron/Scene_lcc_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polyhedron/demo/Polyhedron/Scene_lcc_item.cpp b/Polyhedron/demo/Polyhedron/Scene_lcc_item.cpp index c4f8049ecf8..3808f3bd3d4 100644 --- a/Polyhedron/demo/Polyhedron/Scene_lcc_item.cpp +++ b/Polyhedron/demo/Polyhedron/Scene_lcc_item.cpp @@ -377,7 +377,7 @@ void Scene_lcc_item::drawPoints(CGAL::Three::Viewer_interface* viewer) const void Scene_lcc_item::computeElements() const { - CGAL::Three::Three::CursorScopeGuard guard(QCursor(Qt::WaitCursor)); + CGAL::Three::Three::CursorScopeGuard guard{QCursor(Qt::WaitCursor)}; const CGAL::qglviewer::Vec offset = CGAL::Three::Three::mainViewer()->offset(); qDebug()<lcc.get_new_mark();