From 37b4df3f71449c6bb612e86a972d350e0a19effb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 22 Jul 2005 08:21:17 +0000 Subject: [PATCH] Added missing typedef --- include/osg/PrimitiveSet | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/osg/PrimitiveSet b/include/osg/PrimitiveSet index 96cf012c1..eb56dc850 100644 --- a/include/osg/PrimitiveSet +++ b/include/osg/PrimitiveSet @@ -240,28 +240,30 @@ class OSG_EXPORT DrawArrayLengths : public PrimitiveSet, public std::vector vector_type; + DrawArrayLengths(GLenum mode=0): PrimitiveSet(DrawArrayLengthsPrimitiveType,mode), _first(0) {} DrawArrayLengths(const DrawArrayLengths& dal,const CopyOp& copyop=CopyOp::SHALLOW_COPY): PrimitiveSet(dal,copyop), - std::vector(dal), + vector_type(dal), _first(dal._first) {} DrawArrayLengths(GLenum mode, GLint first, unsigned int no, GLsizei* ptr) : PrimitiveSet(DrawArrayLengthsPrimitiveType,mode), - std::vector(ptr,ptr+no), + vector_type(ptr,ptr+no), _first(first) {} DrawArrayLengths(GLenum mode,GLint first, unsigned int no) : PrimitiveSet(DrawArrayLengthsPrimitiveType,mode), - std::vector(no), + vector_type(no), _first(first) {} DrawArrayLengths(GLenum mode,GLint first) : PrimitiveSet(DrawArrayLengthsPrimitiveType,mode), - std::vector(), + vector_type(), _first(first) {}