modified typedef due to GCC complaints.

This commit is contained in:
Marco Di Benedetto 2009-10-23 20:25:54 +00:00
parent f6d9f4de7c
commit e7cbe4f558
1 changed files with 3 additions and 1 deletions

View File

@ -160,7 +160,9 @@ class AttributeSeam
typedef typename dst_trimesh_t::FaceIterator dst_face_i; typedef typename dst_trimesh_t::FaceIterator dst_face_i;
typedef vcg::tri::Allocator<dst_trimesh_t> dst_mesh_allocator_t; typedef vcg::tri::Allocator<dst_trimesh_t> dst_mesh_allocator_t;
typedef dst_mesh_allocator_t::PointerUpdater<typename dst_trimesh_t::VertexPointer> 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<typename dst_trimesh_t::VertexPointer> dst_pointer_updater_t;
if (reinterpret_cast<const void *>(&src) == reinterpret_cast<const void *>(&dst)) if (reinterpret_cast<const void *>(&src) == reinterpret_cast<const void *>(&dst))
{ {