diff --git a/Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp b/Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp index c813529a2de..f1cba5c3193 100644 --- a/Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp +++ b/Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp @@ -153,7 +153,7 @@ Scene_polyhedron_item::triangulate_facet(Facet_iterator fit) fit2->info().is_external = false; } //check if the facet is external or internal - std::queue face_queue; + std::queue face_queue; face_queue.push(cdt.infinite_vertex()->face()); while(! face_queue.empty() ) { CDT::Face_handle fh = face_queue.front(); @@ -251,7 +251,7 @@ Scene_polyhedron_item::triangulate_facet_color(Facet_iterator fit) afit->info().is_external = false; } //check if the facet is external or internal - std::queue face_queue; + std::queue face_queue; face_queue.push(cdt.infinite_vertex()->face()); while(! face_queue.empty() ) { CDT::Face_handle fh = face_queue.front(); @@ -469,7 +469,7 @@ Scene_polyhedron_item::compute_normals_and_vertices(void) else if (cur_shading == Gouraud) { - Vector n = compute_vertex_normal(*he->vertex()); + Vector n = compute_vertex_normal(*he->vertex()); normals.push_back(n.x()); normals.push_back(n.y()); normals.push_back(n.z()); diff --git a/Polyhedron/demo/Polyhedron/include/Point_set_3.h b/Polyhedron/demo/Polyhedron/include/Point_set_3.h index db351896c4a..ad65300c525 100644 --- a/Polyhedron/demo/Polyhedron/include/Point_set_3.h +++ b/Polyhedron/demo/Polyhedron/include/Point_set_3.h @@ -344,7 +344,6 @@ private: // Computes bounding sphere typedef CGAL::Min_sphere_of_points_d_traits_3 Traits; typedef CGAL::Min_sphere_of_spheres_d Min_sphere; - typedef typename Traits::Sphere Traits_sphere; Min_sphere ms(begin(),end());