Skip to content
Snippets Groups Projects

ILayerBuilderCond does not need to return the new Layers it creates as const

ILayerBuilderCond creates new Layers which then pass on,acts as a "factory". These new Layers do not need to be const. Being const unneedlessy leads down the chain to uneeded const_cast (Explicit or implicit) and other syntactic or actual issues.

ping @rlangenb as we discussed this , note that I do this only for the "cond" tools , I assume the older legacy non condition tools used by the svc will be eventually removed.

Merge request reports

Pipeline #3151981 passed

Pipeline passed for 60dfad5b on ATLAS-EGamma:ILayerBuilderCond_factory_non_const_return

Approval is optional

Merged by Vakhtang TsulaiaVakhtang Tsulaia 3 years ago (Oct 22, 2021 5:17pm UTC)

Merge details

  • Changes merged into master with b7e1bfc0 (commits were squashed).
  • Deleted the source branch.

Activity

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