OpenGEX: Use C++11 range-based for loop

pull/898/head
Turo Lamminen 2016-05-22 12:27:26 +03:00
parent 32e4dd0bd1
commit a09a6a40c0
1 changed files with 2 additions and 2 deletions

View File

@ -236,8 +236,8 @@ OpenGEXImporter::VertexContainer::~VertexContainer() {
delete[] m_vertices;
delete[] m_normals;
for( size_t i = 0; i < AI_MAX_NUMBER_OF_TEXTURECOORDS; i++ ) {
delete [] m_textureCoords[ i ];
for(auto &texcoords : m_textureCoords) {
delete [] texcoords;
}
}