cmcov: fix short lines logging

This commit is contained in:
AJIOB committed 2026-09-26 21:19:50 +00:00
1 parent ed3bc6c262
commit 5a54a6ac3f
1 file changed
+2 -2
+2 -2
View File
@@ -110,8 +110,8 @@ bool cmParseCacheCoverage::ReadCMCovFile(char const* file)
" line:\n"
"[",
line, "]\n");
for (std::string::size_type i = 0; i < separateLine.size(); ++i) {
cmCTestLog(this->CTest, ERROR_MESSAGE, separateLine[1], ' ');
for (std::string const& l : separateLine) {
cmCTestLog(this->CTest, ERROR_MESSAGE, l, ' ');
}
cmCTestLog(this->CTest, ERROR_MESSAGE, "\n");
return false;