diff --git a/wrap/gl/tetramesh.h b/wrap/gl/tetramesh.h index 5c6fc9eb..c707b272 100644 --- a/wrap/gl/tetramesh.h +++ b/wrap/gl/tetramesh.h @@ -201,7 +201,7 @@ private: template void _DrawSmallTetra(){ Point3x p[4],br; - CONT_TETRA::iterator it; + typename CONT_TETRA::iterator it; glPushAttrib(0xffffffff); glEnable(GL_COLOR_MATERIAL); glEnable(GL_LIGHT0); @@ -245,7 +245,7 @@ void _DrawFlatWire(){ template void _DrawSurface(){ - CONT_TETRA::iterator it; + typename CONT_TETRA::iterator it; glPushAttrib(0xffff); glEnable(GL_COLOR_MATERIAL); @@ -435,4 +435,4 @@ void _DrawSmallTetra(TetraType &t) } // end namespace tetra } // end nemaspace tri -#endif \ No newline at end of file +#endif