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; };