Cannot assign to a reference

This commit is contained in:
Andreas Fabri 2016-11-25 16:58:03 +01:00
parent 873e83a429
commit 10df561578
2 changed files with 4 additions and 5 deletions

View File

@ -153,7 +153,7 @@ namespace CGAL
h = next(h,P); h = next(h,P);
Point const& p2 = get(vpmap, target(h,P)); Point const& p2 = get(vpmap, target(h,P));
h = next(h,P); h = next(h,P);
Point const& p3 = get(vpmap, target(h,P)); Point p3 = get(vpmap, target(h,P));
while( h!=done && collinear(p1,p2,p3) ) while( h!=done && collinear(p1,p2,p3) )
{ {

View File

@ -3,11 +3,10 @@
#include <iostream> #include <iostream>
#include <CGAL/Polyhedron_3.h> #include <CGAL/Surface_mesh.h>
#include <CGAL/IO/Polyhedron_iostream.h>
typedef CGAL::Simple_cartesian<double> Kernel; typedef CGAL::Simple_cartesian<double> Kernel;
typedef CGAL::Polyhedron_3<Kernel> Polyhedron; typedef CGAL::Surface_mesh<Kernel::Point_3> Polyhedron;
using namespace std; using namespace std;
using namespace CGAL; using namespace CGAL;