summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-05-11 17:25:53 +1200
committerChris Johns <chrisj@rtems.org>2018-06-15 15:54:25 +1000
commitb97e1d2bfe5623929b67518d5668f7c57d70983b (patch)
tree6c650fe36a38fbd5663f56ca4224bcc0fc2237ad
parent691ed148055233325ae1ffb8ce67ff0e34d5df64 (diff)
tester/covoar: ExecutableInfo C to C++ change.
-rw-r--r--tester/covoar/ExecutableInfo.cc6
1 files 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();
}
}