Skip to content
Snippets Groups Projects
Forked from atlas / athena
Source project has a limited visibility.
  • Vincent Pascuzzi's avatar
    e60b7752
    Fix use of smart pointers in `Trk::RectangularSegmentation' · e60b7752
    Vincent Pascuzzi authored
    The previous commit to this class incorrectly used smart pointers,
    specifically, their ownership was not released. Moreover, the wrapped
    objects were initialised incorrectly, leading to the same
    `Trk::PlaneSurface' being duplicated, filling the vector with the same
    surface.
    
    Although it appears the owning objects free memory, we play it safe by
    keeping the smart pointers here, as opposed to resorting back to raw
    ones.
    
    
    Former-commit-id: d79f604018172cc9533a35c453d05a589554a346
    e60b7752
    History
    Fix use of smart pointers in `Trk::RectangularSegmentation'
    Vincent Pascuzzi authored
    The previous commit to this class incorrectly used smart pointers,
    specifically, their ownership was not released. Moreover, the wrapped
    objects were initialised incorrectly, leading to the same
    `Trk::PlaneSurface' being duplicated, filling the vector with the same
    surface.
    
    Although it appears the owning objects free memory, we play it safe by
    keeping the smart pointers here, as opposed to resorting back to raw
    ones.
    
    
    Former-commit-id: d79f604018172cc9533a35c453d05a589554a346
Code owners
Assign users and groups as approvers for specific file changes. Learn more.