From 20272bf7acb068309305130845c3f7b6a911a4c5 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 8 Jan 2009 07:52:16 +0000 Subject: [PATCH] gcc compilation issues --- vcg/complex/trimesh/geodesic.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vcg/complex/trimesh/geodesic.h b/vcg/complex/trimesh/geodesic.h index f6fe9885..6f9bba74 100644 --- a/vcg/complex/trimesh/geodesic.h +++ b/vcg/complex/trimesh/geodesic.h @@ -162,7 +162,7 @@ class Geo{ std::vector & _inputfrontier, ScalarType & max_distance, bool farthestOnBorder = false, - typename MeshType::PerVertexAttributeHandle * sources = NULL + typename MeshType::template PerVertexAttributeHandle * sources = NULL ) { bool isLeaf; @@ -288,7 +288,7 @@ public: std::vector & fro, VertexPointer & farthest, ScalarType & distance, - typename MeshType::PerVertexAttributeHandle * sources = NULL){ + typename MeshType::template PerVertexAttributeHandle * sources = NULL){ typename std::vector::iterator fi; std::vectorfr; @@ -321,7 +321,7 @@ public: std::vector & fro, VertexPointer & farthest, ScalarType & distance, - typename MeshType::PerVertexAttributeHandle * sources = NULL + typename MeshType::template PerVertexAttributeHandle * sources = NULL ){ typename std::vector::iterator fi; @@ -339,7 +339,7 @@ public: VertexPointer seed, VertexPointer & farthest, ScalarType & distance, - typename MeshType::PerVertexAttributeHandle * sources = NULL){ + typename MeshType::template PerVertexAttributeHandle * sources = NULL){ std::vector fro; fro.push_back( seed ); VertexPointer v0; @@ -353,7 +353,7 @@ public: */ static void DistanceFromBorder( MeshType & m, ScalarType & distance, - typename MeshType::PerVertexAttributeHandle * sources = NULL + typename MeshType::template PerVertexAttributeHandle * sources = NULL ){ std::vector fro; VertexIterator vi;