Build fix for VS6.0 in the template constructors

This commit is contained in:
Robert Osfield
2005-12-09 14:52:19 +00:00
parent a8d7234a0b
commit 479af6e825
2 changed files with 5 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ public:
VectorGLsizei(): vector_type() {}
VectorGLsizei(const VectorGLsizei &copy): 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<GLubyte>
@@ -54,7 +54,7 @@ public:
VectorGLubyte(): vector_type() {}
VectorGLubyte(const VectorGLubyte &copy): 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<GLushort>
@@ -64,7 +64,7 @@ public:
VectorGLushort(): vector_type() {}
VectorGLushort(const VectorGLushort &copy): 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<GLuint>
@@ -74,7 +74,7 @@ public:
VectorGLuint(): vector_type() {}
VectorGLuint(const VectorGLuint &copy): 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) {}
};
// **************************************************************************

View File

@@ -34,7 +34,7 @@ public:
VectorUInt(): vector_type() {}
VectorUInt(const VectorUInt &copy): 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) {}
};
// **************************************************************************