From Marco Jez (with tweaks by Robert Osfield) : clean up of inheritance from std::vector<> classes
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user