Commit ab44ba75 by baldurk

[VS2010] Remove use of ranged-for loops

parent c1d81cb1
...@@ -54,14 +54,14 @@ void SpvBuildLogger::missingFunctionality(const std::string& f) ...@@ -54,14 +54,14 @@ void SpvBuildLogger::missingFunctionality(const std::string& f)
std::string SpvBuildLogger::getAllMessages() const { std::string SpvBuildLogger::getAllMessages() const {
std::ostringstream messages; std::ostringstream messages;
for (const auto& f : tbdFeatures) for (auto it = tbdFeatures.cbegin(); it != tbdFeatures.cend(); ++it)
messages << "TBD functionality: " << f << "\n"; messages << "TBD functionality: " << *it << "\n";
for (const auto& f : missingFeatures) for (auto it = missingFeatures.cbegin(); it != missingFeatures.cend(); ++it)
messages << "Missing functionality: " << f << "\n"; messages << "Missing functionality: " << *it << "\n";
for (const auto& w : warnings) for (auto it = warnings.cbegin(); it != warnings.cend(); ++it)
messages << "warning: " << w << "\n"; messages << "warning: " << *it << "\n";
for (const auto& e : errors) for (auto it = errors.cbegin(); it != errors.cend(); ++it)
messages << "error: " << e << "\n"; messages << "error: " << *it << "\n";
return messages.str(); return messages.str();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment