Commit 2aa6d61
authored
[MUON] Fix assignment of GlobalFwdTrack from base class (#15785)
The fix introduces an explicit assignment operator between the
GlobalFwdTrack class and its TrackParCovFwd base class.
This prevents a SEGFAULT in this kind of assignment:
o2::track::TrackParCovFwd trackParCovFwd;
o2::dataformats::GlobalFwdTrack globalFwdTrack;
globalFwdTrack = trackParCovFwd;1 parent b7d563b commit 2aa6d61
1 file changed
Lines changed: 13 additions & 0 deletions
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
37 | 50 | | |
38 | 51 | | |
39 | 52 | | |
| |||
0 commit comments