From 479af6e825f05810860d2e5cca24007a5c62e9db Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 9 Dec 2005 14:52:19 +0000 Subject: [PATCH] Build fix for VS6.0 in the template constructors --- include/osg/PrimitiveSet | 8 ++++---- include/osgText/String | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/osg/PrimitiveSet b/include/osg/PrimitiveSet index 8f5113911..d79099319 100644 --- a/include/osg/PrimitiveSet +++ b/include/osg/PrimitiveSet @@ -44,7 +44,7 @@ public: VectorGLsizei(): vector_type() {} VectorGLsizei(const VectorGLsizei ©): vector_type(copy) {} VectorGLsizei(GLsizei* beg, GLsizei* end): vector_type(beg, end) {} - explicit VectorGLsizei(VectorGLsizei::size_type n): vector_type(n) {} + explicit VectorGLsizei(vector_type::size_type n): vector_type(n) {} }; class VectorGLubyte: public std::vector @@ -54,7 +54,7 @@ public: VectorGLubyte(): vector_type() {} VectorGLubyte(const VectorGLubyte ©): vector_type(copy) {} VectorGLubyte(GLubyte* beg, GLubyte* end): vector_type(beg, end) {} - explicit VectorGLubyte(VectorGLubyte::size_type n): vector_type(n) {} + explicit VectorGLubyte(vector_type::size_type n): vector_type(n) {} }; class VectorGLushort: public std::vector @@ -64,7 +64,7 @@ public: VectorGLushort(): vector_type() {} VectorGLushort(const VectorGLushort ©): vector_type(copy) {} VectorGLushort(GLushort* beg, GLushort* end): vector_type(beg, end) {} - explicit VectorGLushort(VectorGLushort::size_type n): vector_type(n) {} + explicit VectorGLushort(vector_type::size_type n): vector_type(n) {} }; class VectorGLuint: public std::vector @@ -74,7 +74,7 @@ public: VectorGLuint(): vector_type() {} VectorGLuint(const VectorGLuint ©): vector_type(copy) {} VectorGLuint(GLuint* beg, GLuint* end): vector_type(beg, end) {} - explicit VectorGLuint(VectorGLuint::size_type n): vector_type(n) {} + explicit VectorGLuint(vector_type::size_type n): vector_type(n) {} }; // ************************************************************************** diff --git a/include/osgText/String b/include/osgText/String index 0a63037f6..914493ed5 100644 --- a/include/osgText/String +++ b/include/osgText/String @@ -34,7 +34,7 @@ public: VectorUInt(): vector_type() {} VectorUInt(const VectorUInt ©): vector_type(copy) {} VectorUInt(unsigned int* beg, unsigned int* end): vector_type(beg, end) {} - explicit VectorUInt(VectorUInt::size_type n): vector_type(n) {} + explicit VectorUInt(vector_type::size_type n): vector_type(n) {} }; // **************************************************************************