[PATCH v3 13/22] tester/covoar: ExecutableInfo C to C++ change.
Chris Johns
chrisj at rtems.org
Mon Jun 18 02:29:11 UTC 2018
---
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();
}
}
--
2.15.1
More information about the devel
mailing list