The vectors being sorted here shouldn't contain duplicate entries. Prior to this patch this was checked with an assert within the std::sort predicate. However, std::sort may compare an element against itself which causes the assert to fire (false positive). Move the assert outside of the sort predicate to avoid such issues.
Details
Details
Diff Detail
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Apr 26 2023, 2:43 AM
This revision was landed with ongoing or failed builds.Apr 26 2023, 3:15 AM
Closed by commit rGb59d672ed489: [Assignment Tracking] Fix faulty assertion inside std::sort predicate (authored by Orlando). · Explain Why
This revision was automatically updated to reflect the committed changes.