[rtems-tools commit] tester/covoar: ExecutableInfo C to C++ change.
Chris Johns
chrisj at rtems.org
Tue Jun 19 03:44:06 UTC 2018
Module: rtems-tools
Branch: master
Commit: d6ae3ae7447b567dbb6cb163692456f987c4af46
Changeset: http://git.rtems.org/rtems-tools/commit/?id=d6ae3ae7447b567dbb6cb163692456f987c4af46
Author: Chris Johns <chrisj at rtems.org>
Date: Fri May 11 17:25:53 2018 +1200
tester/covoar: ExecutableInfo C to C++ change.
---
tester/covoar/ExecutableInfo.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tester/covoar/ExecutableInfo.cc b/tester/covoar/ExecutableInfo.cc
index b1eba68..4c72d0d 100644
--- a/tester/covoar/ExecutableInfo.cc
+++ b/tester/covoar/ExecutableInfo.cc
@@ -43,9 +43,9 @@ namespace Coverage {
void ExecutableInfo::dumpCoverageMaps( void ) {
ExecutableInfo::CoverageMaps::iterator itr;
- for (itr = coverageMaps.begin(); itr != coverageMaps.end(); itr++) {
- fprintf( stderr, "Coverage Map for %s\n", ((*itr).first).c_str() );;
- ((*itr).second)->dump();
+ for (auto& cm : coverageMaps) {
+ std::cerr << "Coverage Map for " << cm.first << std::endl;
+ cm.second->dump();
}
}
More information about the vc
mailing list