From 0635ceb42a76a6589fd5a5877256590dbd23c65d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 23 Apr 2016 09:18:28 +0200 Subject: [PATCH] Replaced C++11 auto keyword --- lib/symboldatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index cc72962b5..a05bc065e 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -2419,7 +2419,7 @@ void SymbolDatabase::printOut(const char *title) const std::cout << "int"; std::cout << std::endl; std::cout << " enumClass: " << scope->enumClass << std::endl; - for (const auto & enumerator : scope->enumeratorList) { + for (const Enumerator & enumerator : scope->enumeratorList) { std::cout << " Enumerator: " << enumerator.name->str() << " = "; if (enumerator.value_known) { std::cout << enumerator.value;