Internals: Fix missing const (#4899)

This commit is contained in:
Andrea Calabrese 2024-04-29 22:57:56 -04:00 committed by Wilson Snyder
parent 5d54fa8e6f
commit 25ca1af8b3
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ Alex Chadwick
Àlex Torregrosa
Aliaksei Chapyzhenka
Ameya Vikram Singh
Andrea Calabrese
Andreas Kuster
Andrei Kostovski
Andrew Miloradovsky

View File

@ -66,7 +66,7 @@ public:
// std::cout<<" Testrun, Computrons,"; // Currently not loaded
std::cout << " Covered, Rank, RankPts, Filename\n";
}
void dump(bool bucketsToo) {
void dump(bool bucketsToo) const {
if (testrun() || computrons() != 0.0) { // currently unused // LCOV_EXCL_LINE
std::cout << " " << std::setw(8) << std::setfill('0') << testrun() // LCOV_EXCL_LINE
<< ", " << std::setw(7) << std::setfill(' ')