Use c++11 init method for cursor to avoid msvc bug due to "most vexing parse"

This commit is contained in:
Maxime Gimeno 2019-03-12 12:08:00 +01:00
parent 8886bc5e6a
commit ec656e280e
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ void Scene_lcc_item::drawPoints(CGAL::Three::Viewer_interface* viewer) const
void Scene_lcc_item::computeElements() 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(); const CGAL::qglviewer::Vec offset = CGAL::Three::Three::mainViewer()->offset();
qDebug()<<offset.x<<", "<<offset.y<<", "<<offset.z; qDebug()<<offset.x<<", "<<offset.y<<", "<<offset.z;
typename LCC::size_type markvolumes = d->lcc.get_new_mark(); typename LCC::size_type markvolumes = d->lcc.get_new_mark();