diff --git a/Lab/demo/Lab/Plugins/IO/PLY_io_plugin.cpp b/Lab/demo/Lab/Plugins/IO/PLY_io_plugin.cpp index 63abb1e5269..a15bf05d2df 100644 --- a/Lab/demo/Lab/Plugins/IO/PLY_io_plugin.cpp +++ b/Lab/demo/Lab/Plugins/IO/PLY_io_plugin.cpp @@ -7,6 +7,8 @@ #include #include #include +#include +#include #include #include @@ -132,8 +134,10 @@ load(QFileInfo fileinfo, bool& ok, bool add_to_scene) { std::vector fcolors; std::vector vcolors; - if (!(CGAL::IO::read_PLY (in, points, polygons, fcolors, vcolors))) + std::string unused_comment; + if (!(CGAL::IO::read_PLY (in, points, polygons, unused_comment, vcolors))) { + CGAL_USE(unused_comment); QApplication::restoreOverrideCursor(); ok = false; return QList();