Prefer prefix ++ operator for non-primitive types

pull/2628/head
escherstair 2019-08-29 08:43:56 +02:00 committed by GitHub
parent 8e90bf8381
commit f1e0c460ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -888,8 +888,8 @@ nl_clean_loop:
// and try to find them in another top nodes. // and try to find them in another top nodes.
std::list<aiNode*>::const_iterator next_it = nl_it; std::list<aiNode*>::const_iterator next_it = nl_it;
next_it++; ++next_it;
for(; next_it != node_list.end(); next_it++) for(; next_it != node_list.end(); ++next_it)
{ {
if((*next_it)->FindNode((*nl_it)->mName) != nullptr) if((*next_it)->FindNode((*nl_it)->mName) != nullptr)
{ {