diff --git a/CaloFuture/CaloFutureReco/src/CaloFutureECorrection.cpp b/CaloFuture/CaloFutureReco/src/CaloFutureECorrection.cpp index 53809fc4de5f886142fd9ffbb9425dd6ede24769..951d421d0db960c1868fa6c5e978543801b9e552 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; } ); }