From 9f48db534ea32276716873cf3ee221be3bae8274 Mon Sep 17 00:00:00 2001 From: Oleksii Lubynets Date: Fri, 28 Aug 2026 18:33:02 +0200 Subject: [PATCH] TaskManager: flush ostream when printing event's number --- infra/TaskManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/TaskManager.cpp b/infra/TaskManager.cpp index 76f46217..84a830bd 100644 --- a/infra/TaskManager.cpp +++ b/infra/TaskManager.cpp @@ -115,7 +115,7 @@ void TaskManager::Run(long long nEventFrom, long long nEvents) { for (long long iEvent = nEventFrom; iEvent < nEventFrom + nEvents; ++iEvent) { if (verbosity_period_ > 0 && iEvent % verbosity_period_ == 0) { - std::cout << "Event no " << iEvent << "\n"; + std::cout << "Event no " << iEvent << std::endl; } if (read_in_tree_) { chain_->GetEntry(iEvent);