Skip to content
Snippets Groups Projects
Commit f637ca43 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

ensure that destination vector for DataSvc::objectLeaves gets reset

The change restore the implementation in 'master' before the merge of 'hive'.

Fixes GAUDI-1166.
See merge request !97
parents 6e55dafa 739e8a5c
No related branches found
No related tags found
No related merge requests found
......@@ -236,7 +236,7 @@ StatusCode DataSvc::objectLeaves( const IRegistry* pRegistry,
if ( !checkRoot() ) return INVALID_ROOT;
const RegEntry* node_entry = CAST_REGENTRY(const RegEntry*,pRegistry);
if ( !node_entry ) return INVALID_OBJECT;
std::copy(node_entry->leaves().begin(), node_entry->leaves().end(), back_inserter(leaves));
leaves = node_entry->leaves();
return StatusCode::SUCCESS;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment