From Marco Jez (with tweaks by Robert Osfield) : clean up of inheritance from std::vector<> classes

This commit is contained in:
Robert Osfield
2005-07-20 19:42:59 +00:00
parent b9e651baf1
commit 1e9fb4ab03
7 changed files with 90 additions and 152 deletions

View File

@@ -34,7 +34,7 @@ void DrawArrays::accept(PrimitiveIndexFunctor& functor) const
void DrawArrayLengths::draw(State&, bool) const
{
GLint first = _first;
for(VectorSizei::const_iterator itr=begin();
for(vector_type::const_iterator itr=begin();
itr!=end();
++itr)
{
@@ -46,7 +46,7 @@ void DrawArrayLengths::draw(State&, bool) const
void DrawArrayLengths::accept(PrimitiveFunctor& functor) const
{
GLint first = _first;
for(VectorSizei::const_iterator itr=begin();
for(vector_type::const_iterator itr=begin();
itr!=end();
++itr)
{
@@ -58,7 +58,7 @@ void DrawArrayLengths::accept(PrimitiveFunctor& functor) const
void DrawArrayLengths::accept(PrimitiveIndexFunctor& functor) const
{
GLint first = _first;
for(VectorSizei::const_iterator itr=begin();
for(vector_type::const_iterator itr=begin();
itr!=end();
++itr)
{
@@ -70,7 +70,7 @@ void DrawArrayLengths::accept(PrimitiveIndexFunctor& functor) const
unsigned int DrawArrayLengths::getNumIndices() const
{
unsigned int count = 0;
for(VectorSizei::const_iterator itr=begin();
for(vector_type::const_iterator itr=begin();
itr!=end();
++itr)
{