Prefer prefix ++ operator for non-primitive types

This commit is contained in:
escherstair
2019-08-29 08:43:56 +02:00
committed by GitHub
parent 8e90bf8381
commit f1e0c460ed

View File

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