COMP: buildCGALPolyhedron.C: using typename outside of template

This commit is contained in:
mattijs
2011-06-20 11:42:33 +01:00
parent 0520872ce0
commit 57561886bd

View File

@ -51,8 +51,8 @@ void Foam::buildCGALPolyhedron::operator()
HalfedgeDS& hds
)
{
typedef typename HalfedgeDS::Traits Traits;
typedef typename Traits::Point_3 Point;
typedef HalfedgeDS::Traits Traits;
typedef Traits::Point_3 Point;
// Postcondition: `hds' is a valid polyhedral surface.
CGAL::Polyhedron_incremental_builder_3<HalfedgeDS> B(hds, false);