summaryrefslogtreecommitdiff
blob: df2a14a34ae4d86cdb2d87967fb0a6d2b570bcf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Make tools compiled successfully with forced C++98

Gentoo bugreport: https://bugs.gentoo.org/show_bug.cgi?id=503468

diff --git a/tools/regression/src/compiler_status.cpp b/tools/regression/src/compiler_status.cpp
index 63f8134..3f3374a 100644
--- a/tools/regression/src/compiler_status.cpp
+++ b/tools/regression/src/compiler_status.cpp
@@ -128,7 +128,7 @@ namespace
         string ln(line);
         if (ln.find("Revision: ") != string::npos)
         {
-          for(auto itr = ln.begin()+10; itr != ln.end() && isdigit(*itr); ++itr)
+          for(string::iterator itr = ln.begin()+10; itr != ln.end() && isdigit(*itr); ++itr)
             rev += *itr;
         }
       }