1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-17 15:32:10 +08:00

Refactor: Eliminate sequential calls to cmSystemTools::Stdout

This commit is contained in:
Alex Turbov
2024-07-26 22:17:47 +04:00
parent efd3f2356a
commit 3855131c53
3 changed files with 5 additions and 8 deletions

View File

@@ -153,7 +153,7 @@ void InstallScript::start(cm::uv_loop_ptr& loop,
void InstallScript::printResult(std::size_t n, std::size_t total)
{
cmSystemTools::Stdout(cmStrCat("[", n, "/", total, "] ", this->name, "\n"));
cmSystemTools::Stdout(cmStrCat('[', n, '/', total, "] ", this->name, '\n'));
for (auto const& line : this->output) {
cmSystemTools::Stdout(line);
}