summaryrefslogtreecommitdiff
path: root/src/task_ar.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2025-01-06 17:48:19 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2025-01-06 17:48:19 +0100
commit05a15ed660f8b43c85242fed1a863853e8c749b3 (patch)
tree2aaec389e043cf20637ce8a9d7d3ac394dae836e /src/task_ar.cc
parent78c5477b3989d67169de2d05665adfb801caab23 (diff)
Reduce chance of lines being cut and mixed up when printing from the task threads.
Diffstat (limited to 'src/task_ar.cc')
-rw-r--r--src/task_ar.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/task_ar.cc b/src/task_ar.cc
index b16a2f9..09403bb 100644
--- a/src/task_ar.cc
+++ b/src/task_ar.cc
@@ -105,7 +105,8 @@ int TaskAR::runInner()
if(settings.verbose == 0)
{
- std::cout << "AR => " << targetFile().string() << std::endl;
+ std::string output = "AR => " + targetFile().string() + '\n';
+ std::cout << output << std::flush;
}
const auto& c = ctor::get_configuration();