From 1fb9d1c555fa4755c00eea20d9ea92955ccc32b5 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 23 Mar 2010 22:37:46 +0000 Subject: [PATCH] added a few disambiguating 'template' keywords --- vcg/complex/trimesh/allocate.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vcg/complex/trimesh/allocate.h b/vcg/complex/trimesh/allocate.h index 6f548897..b28bb6fc 100644 --- a/vcg/complex/trimesh/allocate.h +++ b/vcg/complex/trimesh/allocate.h @@ -1041,10 +1041,10 @@ 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 AddPerMeshAttribute(MeshType & m) {Allocator::AddPerMeshAttribute (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);} + void AddPerMeshAttribute(MeshType & m) {Allocator::template AddPerMeshAttribute (m,_name);} private: std::string _name; };