diff --git a/GaudiHive/src/HiveDataBroker.cpp b/GaudiHive/src/HiveDataBroker.cpp index 687ca169c05be50f782a284b6a6eeff98dbcbcdb..3e85949e4dcde3b88b29addb13ff9aa18c437479 100644 --- a/GaudiHive/src/HiveDataBroker.cpp +++ b/GaudiHive/src/HiveDataBroker.cpp @@ -174,8 +174,12 @@ HiveDataBrokerSvc::mapProducers( std::vector<AlgEntry>& algorithms ) const { debug() << "Data Dependencies for Algorithms:"; for ( const auto& entry : m_algorithms ) { debug() << "\n " << entry.alg->name() << " :"; - for ( const auto& id : entry.alg->inputDataObjs() ) { debug() << "\n o INPUT " << id.key(); } - for ( const auto& id : entry.alg->outputDataObjs() ) { debug() << "\n o OUTPUT " << id.key(); } + for ( const auto* id : sortedDataObjIDColl( entry.alg->inputDataObjs() ) ) { + debug() << "\n o INPUT " << id->key(); + } + for ( const auto* id : sortedDataObjIDColl( entry.alg->outputDataObjs() ) ) { + debug() << "\n o OUTPUT " << id->key(); + } } debug() << endmsg; }