prefer prefix ++ operator for non-primitive types

This commit is contained in:
escherstair
2019-08-29 08:02:51 +02:00
committed by GitHub
parent 9ad7ce1129
commit 0dd1ae0196

View File

@@ -883,7 +883,7 @@ nl_clean_loop:
if(node_list.size() > 1)
{
// walk through all nodes
for(std::list<aiNode*>::iterator nl_it = node_list.begin(); nl_it != node_list.end(); nl_it++)
for(std::list<aiNode*>::iterator nl_it = node_list.begin(); nl_it != node_list.end(); ++nl_it)
{
// and try to find them in another top nodes.
std::list<aiNode*>::const_iterator next_it = nl_it;