diff --git a/GraphicsView/demo/Snap_rounding_2/Snap_rounding_2.cpp b/GraphicsView/demo/Snap_rounding_2/Snap_rounding_2.cpp index 8d4208e08e2..93802ff9153 100644 --- a/GraphicsView/demo/Snap_rounding_2/Snap_rounding_2.cpp +++ b/GraphicsView/demo/Snap_rounding_2/Snap_rounding_2.cpp @@ -321,8 +321,8 @@ MainWindow::on_actionSaveSegments_triggered() mls.push_back(ls); } CGAL::write_multi_linestring_WKT(ofs, mls); - } #endif + } else std::copy(input.begin(), input.end(), std::ostream_iterator(ofs, "\n")); }