diff --git a/wrap/io_trimesh/import_vmi.h b/wrap/io_trimesh/import_vmi.h index fdd66d5e..a8aa1186 100644 --- a/wrap/io_trimesh/import_vmi.h +++ b/wrap/io_trimesh/import_vmi.h @@ -297,7 +297,7 @@ namespace io { return mask; } - template + template struct LoadVertexOcf{ LoadVertexOcf(FILE*f,const CONT & vert){ // do nothing, it is a std::vector @@ -306,9 +306,9 @@ namespace io { - template + template struct - LoadVertexOcf >{ + LoadVertexOcf >{ typedef typename OpenMeshType::VertexType VertexType; LoadVertexOcf( FILE * f, vertex::vector_ocf & vert){ std::string s; @@ -379,7 +379,7 @@ namespace io { } }; - template + template struct LoadFaceOcf{ LoadFaceOcf(FILE * f, const CONT & face){ // do nothing, it is a std::vector @@ -432,8 +432,8 @@ namespace io { /* partial specialization for vector_ocf */ - template - struct LoadFaceOcf< OpenMeshType, face::vector_ocf >{ + template + struct LoadFaceOcf< MeshType, face::vector_ocf >{ typedef typename OpenMeshType::FaceType FaceType; LoadFaceOcf( FILE * f, face::vector_ocf & face){ std::string s; @@ -610,8 +610,8 @@ namespace io { static bool LoadMask(FILE * f, int & mask){ std::vector nameV; std::vector nameF; - int vertSize, faceSize, mask; - GetHeader(f,nameV,namef,vertSize, faceSize, mask); + int vertSize, faceSize; + GetHeader(f,nameV,nameF,vertSize, faceSize, mask); return true; }