Merge pull request #898 from turol/cxx11-refactor

Use C++11 range-based for loops
This commit is contained in:
Kim Kulling
2016-05-26 16:56:07 +02:00
20 changed files with 147 additions and 177 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;
}
}