clang-tidy: fix bugprone-unintended-char-ostream-output lint

This commit is contained in:
Brad King
2025-10-29 17:44:07 -04:00
parent 2ca11db2e3
commit e12ce158bc

View File

@@ -2073,7 +2073,7 @@ void cmCTestTestHandler::RecordCustomTestMeasurements(cmXMLWriter& xml,
xml.Attribute("encoding", "base64");
std::ostringstream ostr;
for (size_t cc = 0; cc < rlen; cc++) {
ostr << encoded_buffer[cc];
ostr << static_cast<char>(encoded_buffer[cc]);
if (cc % 60 == 0 && cc) {
ostr << std::endl;
}