diff options
author | Chris Johns <chrisj@rtems.org> | 2018-05-11 17:25:53 +1200 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-06-18 12:26:16 +1000 |
commit | d6ae3ae7447b567dbb6cb163692456f987c4af46 (patch) | |
tree | 6c650fe36a38fbd5663f56ca4224bcc0fc2237ad /tester/covoar | |
parent | rtemstoolkit/dwarf: Change the address source line to signed so valid() works. (diff) | |
download | rtems-tools-d6ae3ae7447b567dbb6cb163692456f987c4af46.tar.bz2 |
tester/covoar: ExecutableInfo C to C++ change.
Diffstat (limited to 'tester/covoar')
-rw-r--r-- | tester/covoar/ExecutableInfo.cc | 6 |
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(); } } |