From cbbd93ae9dcb4cbc6a5d93c7740d378ef04254e8 Mon Sep 17 00:00:00 2001
From: Chris Jones <jonesc@hep.phy.cam.ac.uk>
Date: Thu, 27 Jan 2022 15:54:51 +0000
Subject: [PATCH] CaloFutureECorrection: Explicitly declare derived condition
 as shared

---
 CaloFuture/CaloFutureReco/src/CaloFutureECorrection.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CaloFuture/CaloFutureReco/src/CaloFutureECorrection.cpp b/CaloFuture/CaloFutureReco/src/CaloFutureECorrection.cpp
index 53809fc4de5..951d421d0db 100644
--- a/CaloFuture/CaloFutureReco/src/CaloFutureECorrection.cpp
+++ b/CaloFuture/CaloFutureReco/src/CaloFutureECorrection.cpp
@@ -195,7 +195,7 @@ CaloFutureECorrection::CaloFutureECorrection( const std::string& type, const std
 
 StatusCode CaloFutureECorrection::initialize() {
   return extends::initialize().andThen( [&] {
-    this->addConditionDerivation( {m_calo.key()}, m_offsets.key(), createMap );
+    this->addSharedConditionDerivation( {m_calo.key()}, m_offsets.key(), &createMap );
     return true;
   } );
 }
-- 
GitLab