From e7cbe4f558cbc33101037209ba6e33341d557f82 Mon Sep 17 00:00:00 2001 From: dibenedetto Date: Fri, 23 Oct 2009 20:25:54 +0000 Subject: [PATCH] modified typedef due to GCC complaints. --- vcg/complex/trimesh/attribute_seam.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/attribute_seam.h b/vcg/complex/trimesh/attribute_seam.h index d3cc989d..ff856423 100644 --- a/vcg/complex/trimesh/attribute_seam.h +++ b/vcg/complex/trimesh/attribute_seam.h @@ -160,7 +160,9 @@ class AttributeSeam typedef typename dst_trimesh_t::FaceIterator dst_face_i; typedef vcg::tri::Allocator dst_mesh_allocator_t; - typedef dst_mesh_allocator_t::PointerUpdater dst_pointer_updater_t; + + /* GCC gets in troubles and need some hints ("template") to parse the following line */ + typedef typename dst_mesh_allocator_t :: template PointerUpdater dst_pointer_updater_t; if (reinterpret_cast(&src) == reinterpret_cast(&dst)) {