Browse Source

prefer prefix ++/-- operators for non-primitive types

escherstair 6 years ago
parent
commit
75993ad653
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/X3D/X3DImporter_Geometry3D.cpp

+ 1 - 1
code/X3D/X3DImporter_Geometry3D.cpp

@@ -230,7 +230,7 @@ void X3DImporter::ParseNode_Geometry3D_Cylinder()
 
 		if(top)
 		{
-			for(std::vector<aiVector3D>::iterator it = tcir.begin(); it != tcir.end(); it++)
+			for(std::vector<aiVector3D>::iterator it = tcir.begin(); it != tcir.end(); ++it)
 			{
 				(*it).y = height;// y - because circle made in oXZ.
 				vlist.push_back(*it);