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

@@ -35,7 +35,7 @@ void DrawArrayLengths::write(DataOutputStream* out){
// Write array length and its elements.
out->writeInt(size());
for(unsigned int i=0; i<size(); i++){
out->writeInt(((osg::VectorSizei)(*this))[i]);
out->writeInt(((*this))[i]);
}
}