Skip to content

const ref to EventContext when using Gaudi::Hive::currentContext(), and replace vector size()==0 with empty()

Hello,

When retrieving the event context via Gaudi::Hive::currentContext(), it is probably more efficient to use a const ref. Not the primary goal of this MR, but when vector size() was used to check for empty vectors, empty() is now used.

Cheers, Bertrand

Edited by Bertrand Martin Dit Latour

Merge request reports