2
0
Эх сурвалжийг харах

CompareDump: do not use C++11 range based for loop.

Alexander Gessler 10 жил өмнө
parent
commit
e5d4f537bd

+ 2 - 2
tools/assimp_cmd/CompareDump.cpp

@@ -252,8 +252,8 @@ private:
 		}
 
 		ss << std::endl << "Debug trace: "<< std::endl;
-		for (const std::string& s : debug_trace) {
-			ss << s << std::endl;
+		for (std::vector<std::string>::const_iterator it = debug_trace.begin(); it != debug_trace.end(); ++it) {
+			ss << *it << std::endl;
 		}
 		return ss.str();
 	}