added a missing 'template' keyword between class and metod name.

This commit is contained in:
Paolo Cignoni 2010-03-16 11:06:32 +00:00
parent 09b0fb5ef7
commit 404831fc2f
1 changed files with 3 additions and 3 deletions

View File

@ -1035,9 +1035,9 @@ public:
std::string TypeID(){ return typeid(TYPE).name();} std::string TypeID(){ return typeid(TYPE).name();}
void AddPerVertexAttribute(MeshType & m){Allocator::AddPerVertexAttribute<TYPE> (m,_name);} void AddPerVertexAttribute(MeshType & m){Allocator::template AddPerVertexAttribute<TYPE> (m,_name);}
void AddPerFaceAttribute(MeshType & m) {Allocator::AddPerFaceAttribute<TYPE> (m,_name);} void AddPerFaceAttribute(MeshType & m) {Allocator::template AddPerFaceAttribute<TYPE> (m,_name);}
void AddPerEdgeAttribute(MeshType & m) {Allocator::AddPerEdgeAttribute<TYPE> (m,_name);} void AddPerEdgeAttribute(MeshType & m) {Allocator::template AddPerEdgeAttribute<TYPE> (m,_name);}
private: private:
std::string _name; std::string _name;
}; };