From 227b3121aaee67cbfd2fce80b3446930786de32b Mon Sep 17 00:00:00 2001 From: Dmitrii V Pasechnik Date: Thu, 4 Jan 2001 16:31:55 +0000 Subject: [PATCH] return 0 added a workaround for output operator matching failure used --- Packages/Viewer_3/demo/Viewer_3/tetra1.C | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Packages/Viewer_3/demo/Viewer_3/tetra1.C b/Packages/Viewer_3/demo/Viewer_3/tetra1.C index 9af9e8b62ce..2b72f09aa6b 100644 --- a/Packages/Viewer_3/demo/Viewer_3/tetra1.C +++ b/Packages/Viewer_3/demo/Viewer_3/tetra1.C @@ -30,8 +30,14 @@ int main(int argc, char *argv[]) tr.insert(point_t(-140,400,-200)); tr.insert(point_t(100,-350,0)); tr.insert(point_t(500,-300,-250)); - +#ifndef _MSC_VER W << CGAL::set_color_1(CGAL::ORANGE) ; +#else + { + CGAL::O_manip xxx = CGAL::set_color_1(CGAL::ORANGE); + xxx.f(W,xxx.i); + } +#endif Delaunay_3::Cell_iterator cit; tetra t; for (cit = tr.finite_cells_begin(); cit != tr.cells_end(); cit++) { @@ -39,7 +45,7 @@ int main(int argc, char *argv[]) W << t; } W.main_loop(); - + return 0; }