summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-05-11 17:25:53 +1200
committerChris Johns <chrisj@rtems.org>2018-06-18 12:26:16 +1000
commitd6ae3ae7447b567dbb6cb163692456f987c4af46 (patch)
tree6c650fe36a38fbd5663f56ca4224bcc0fc2237ad
parentrtemstoolkit/dwarf: Change the address source line to signed so valid() works. (diff)
downloadrtems-tools-d6ae3ae7447b567dbb6cb163692456f987c4af46.tar.bz2
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();
}
}