Skip to content

Trk::Track Add move ctor and assignment, do not implement copy via assignment

Two changes

  1. Add move copy and assignment operators
  2. The copy ctor was implemented via the assignment. In reality copy ctor constructs a new object, so "reseting" its payload is not needed. In general assignment needs one extra step 1st. Avoid this and factor the common code the seem that led to that to a seperate method.

Merge request reports