From 404831fc2f3aa84fc442b698c203d6dca15e2d2e Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 16 Mar 2010 11:06:32 +0000 Subject: [PATCH] added a missing 'template' keyword between class and metod name. --- vcg/complex/trimesh/allocate.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vcg/complex/trimesh/allocate.h b/vcg/complex/trimesh/allocate.h index 5b642e41..94197583 100644 --- a/vcg/complex/trimesh/allocate.h +++ b/vcg/complex/trimesh/allocate.h @@ -1035,9 +1035,9 @@ public: std::string TypeID(){ return typeid(TYPE).name();} - void AddPerVertexAttribute(MeshType & m){Allocator::AddPerVertexAttribute (m,_name);} - void AddPerFaceAttribute(MeshType & m) {Allocator::AddPerFaceAttribute (m,_name);} - void AddPerEdgeAttribute(MeshType & m) {Allocator::AddPerEdgeAttribute (m,_name);} + void AddPerVertexAttribute(MeshType & m){Allocator::template AddPerVertexAttribute (m,_name);} + void AddPerFaceAttribute(MeshType & m) {Allocator::template AddPerFaceAttribute (m,_name);} + void AddPerEdgeAttribute(MeshType & m) {Allocator::template AddPerEdgeAttribute (m,_name);} private: std::string _name; };