Skip to content
Snippets Groups Projects

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

Merged Bertrand Martin Dit Latour requested to merge martindl/athena:R22_EventContext into master

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

Pipeline #3798932 passed

Pipeline passed for a1d329cf on martindl:R22_EventContext

Merged by Johannes ElmsheuserJohannes Elmsheuser 2 years ago (Apr 4, 2022 1:29pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading