Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • athena athena
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 141
    • Merge requests 141
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • atlas
  • athenaathena
  • Merge requests
  • !51854

Merged
Created Apr 02, 2022 by Bertrand Martin Dit Latour@martindlDeveloper

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

  • Overview 10
  • Commits 2
  • Pipelines 2
  • Changes 17

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 Apr 03, 2022 by Bertrand Martin Dit Latour
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: R22_EventContext