MuPatPrimitives+MuonTrackSteeringTools: Lifetime management update
MuPatPrimitives: Lifetime management update Have addToTrash return a (bare) pointer to the object just added. Avoids having a pattern in the caller where it looks like a dangling pointer is retained from a unique_ptr.
Showing
- MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerTools/MuPatPrimitives/MuPatPrimitives/MuPatCandidateBase.h 2 additions, 2 deletions...ools/MuPatPrimitives/MuPatPrimitives/MuPatCandidateBase.h
- MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerTools/MuPatPrimitives/src/MuPatCandidateBase.cxx 7 additions, 2 deletions...rackMakerTools/MuPatPrimitives/src/MuPatCandidateBase.cxx
- MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerTools/MuonTrackSteeringTools/src/MuPatCandidateTool.cxx 6 additions, 8 deletions...erTools/MuonTrackSteeringTools/src/MuPatCandidateTool.cxx
Please register or sign in to comment