mirror of https://github.com/CGAL/cgal
fixes for gcc
This commit is contained in:
parent
c071cdd704
commit
2997c4fa6a
|
|
@ -29,7 +29,8 @@ struct One_ring_iterator<Polyhedron::Vertex_handle> {
|
|||
bool first;
|
||||
// to be used in One_ring_iterator<Halfedge_handle>
|
||||
operator Polyhedron::Halfedge_handle() const {
|
||||
return &*circ < &*circ->opposite() ? circ : circ->opposite();
|
||||
if ( &*circ < &*circ->opposite() ) return circ;
|
||||
return circ->opposite();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
||||
#include <CGAL/glu.h>
|
||||
#include <QGLViewer/manipulatedFrame.h>
|
||||
#include <QGLViewer/qglviewer.h>
|
||||
#include <QGLViewer/camera.h>
|
||||
|
|
@ -22,6 +23,7 @@
|
|||
#include <CGAL/Deform_mesh.h>
|
||||
#include <boost/function_output_iterator.hpp>
|
||||
|
||||
|
||||
typedef Polyhedron::Vertex_handle Vertex_handle;
|
||||
typedef boost::graph_traits<Polyhedron>::vertex_descriptor vertex_descriptor;
|
||||
typedef boost::graph_traits<Polyhedron>::vertex_iterator vertex_iterator;
|
||||
|
|
|
|||
Loading…
Reference in New Issue