From e5d4f537bd635d83bb2b9cb1c630f111d258d9b7 Mon Sep 17 00:00:00 2001 From: Alexander Gessler Date: Sat, 28 Mar 2015 13:10:34 +0100 Subject: [PATCH] CompareDump: do not use C++11 range based for loop. --- tools/assimp_cmd/CompareDump.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/assimp_cmd/CompareDump.cpp b/tools/assimp_cmd/CompareDump.cpp index 0c7a52b46..7ddd40b5b 100644 --- a/tools/assimp_cmd/CompareDump.cpp +++ b/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::const_iterator it = debug_trace.begin(); it != debug_trace.end(); ++it) { + ss << *it << std::endl; } return ss.str(); }