summaryrefslogtreecommitdiffstats
path: root/tester/covoar/ReportsText.h
diff options
context:
space:
mode:
authorAlex White <alex.white@oarcorp.com>2021-04-05 11:29:25 -0500
committerJoel Sherrill <joel@rtems.org>2021-04-07 10:32:31 -0500
commitde185fe1a97d9640810d9e882cae511f512bc992 (patch)
treec5cfce20b76a58086c71c8a39e1df1d46cb0f064 /tester/covoar/ReportsText.h
parentcovoar: Eliminate tabs (diff)
downloadrtems-tools-de185fe1a97d9640810d9e882cae511f512bc992.tar.bz2
covoar: Use range-based for loops in ReportsBase
Some of the loops in the ReportsBase::Write* methods contained both regular and range-based for loops. This changes them to use only range- based for loops. Closes #4374
Diffstat (limited to 'tester/covoar/ReportsText.h')
-rw-r--r--tester/covoar/ReportsText.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tester/covoar/ReportsText.h b/tester/covoar/ReportsText.h
index 91366b5..23a1003 100644
--- a/tester/covoar/ReportsText.h
+++ b/tester/covoar/ReportsText.h
@@ -85,7 +85,7 @@ class ReportsText: public ReportsBase {
unsigned int number,
const std::string& symbolName,
const SymbolInformation& symbolInfo,
- Coverage::CoverageRanges::ranges_t::iterator rangePtr
+ const CoverageRanges::coverageRange_t& range
);
/* Inherit documentation from base class. */
@@ -102,7 +102,7 @@ class ReportsText: public ReportsBase {
unsigned int number,
const std::string& symbolName,
const SymbolInformation& symbolInfo,
- Coverage::CoverageRanges::ranges_t::iterator ritr
+ const CoverageRanges::coverageRange_t& range
);
/* Inherit documentation from base class. */
@@ -110,7 +110,7 @@ class ReportsText: public ReportsBase {
FILE* report,
unsigned int number,
const std::string& symbolName,
- Coverage::CoverageRanges::ranges_t::iterator range
+ const CoverageRanges::coverageRange_t& range
);
/* Inherit documentation from base class. */