add missing typename

This commit is contained in:
Sébastien Loriot 2014-08-14 10:57:32 +02:00
parent c5ae1d35a9
commit 3441d513d4
3 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ template <class Polyhedron, class Surface>
void
construct_polyhedron(Polyhedron& P, Surface& surface)
{
typedef Polyhedron::HalfedgeDS HalfedgeDS;
typedef typename Polyhedron::HalfedgeDS HalfedgeDS;
Construct_polyhedron<HalfedgeDS, Surface> builder(surface);
P.delegate(builder);
}

View File

@ -2293,7 +2293,7 @@ advancing_front_surface_reconstruction(PointIterator b, PointIterator e, Polyhed
typedef Delaunay_triangulation_3<Kernel,Tds> Triangulation_3;
typedef Advancing_front_surface_reconstruction<Kernel,Triangulation_3> Reconstruction;
typedef Kernel::Point_3 Point_3;
typedef typename Kernel::Point_3 Point_3;
Triangulation_3 dt( boost::make_transform_iterator(b, AFSR::Auto_count<Point_3>()),
boost::make_transform_iterator(e, AFSR::Auto_count<Point_3>() ) );

View File