Skip to content
Snippets Groups Projects

Solution to Missing move assignment operator! (CID# 113566)

Changes made in TrackSegment.cxx/.h and Segment.cxx/.h.

Edited by Jyoti Prakash Biswal

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Goetz Gaycken marked as a Work In Progress

    marked as a Work In Progress

  • Hi Jyoti, You should also add move semantics to TrackSegment i.e. You should implement

     Trk::TrackSegment::TrackSegment(Trk::TrackSegment&& tseg)
     Trk::TrackSegment& Trk::TrackSegment::operator=(Trk::TrackSegment&& tseg)

    similar to what You did for Trk::Segment. Thanks ! Götz

  • added 1 commit

    • 55e34554 - After implementation of suggestions.

    Compare with previous version

  • Hi @goetz,

    All your suggestions are now implemented in the new commit: jbiswal/athena@55e34554 . Is this OK?

    Regarding the white spaces, they appear to be different in 'vim' text editor. Anyway, I have tried to get rid of them as much as I could.

    Jyoti

    Edited by Jyoti Prakash Biswal
  • Goetz Gaycken @goetz started a thread on commit 55e34554
  • 91 91 if (this!=&seg){
    92 92 Trk::MeasurementBase::operator=(seg);
    93 93 delete m_fitQuality;
    94 delete m_containedMeasBases;
  • added 1 commit

    • 9cd1077e - m_containedMeasBases deletion corrected!

    Compare with previous version

  • Jyoti Prakash Biswal unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading