No need to keep the sorter struct around

This commit is contained in:
Robin Gareus
2022-01-29 05:27:55 +01:00
parent a4ee7fa2fa
commit 57a93380b6

View File

@@ -5904,8 +5904,7 @@ Editor::redisplay_track_views ()
_tvl_redisplay_on_resume = false;
TrackViewStripableSorter cmp;
track_views.sort (cmp);
track_views.sort (TrackViewStripableSorter ());
uint32_t position;
TrackViewList::const_iterator i;