From 6bd99997d7349cee4734c17bd2a572ac9636dfe4 Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Wed, 9 Oct 2024 11:54:42 +0200 Subject: [PATCH] Update k4FWCore/components/UniqueIDGenSvc.cpp Co-authored-by: Thomas Madlener --- k4FWCore/components/UniqueIDGenSvc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k4FWCore/components/UniqueIDGenSvc.cpp b/k4FWCore/components/UniqueIDGenSvc.cpp index cd55f0ab..63d9f15f 100644 --- a/k4FWCore/components/UniqueIDGenSvc.cpp +++ b/k4FWCore/components/UniqueIDGenSvc.cpp @@ -52,7 +52,7 @@ size_t UniqueIDGenSvc::getUniqueID(uint32_t evt_num, uint32_t run_num, const std bool inserted = false; { std::lock_guard lock(m_mutex); - std::tie(std::ignore, inserted), = m_uniqueIDs.insert(hash); + std::tie(std::ignore, inserted) = m_uniqueIDs.insert(hash); } if (!inserted) { warning() << "Event number " << evt_num << ", run number " << run_num << " and algorithm name \"" << name