diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-07-31 17:28:00 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-07-31 17:28:00 +0200 |
| commit | 04205039f24ea6e71d2ce94c7cb7e1395f95179e (patch) | |
| tree | 9e16ceaa1cce5db8c41fcdc0120f276baa196193 /llog | |
| parent | 78dc143e4585a3ab5a4d173f50571b4842a4e347 (diff) | |
| download | WRMS-04205039f24ea6e71d2ce94c7cb7e1395f95179e.tar.gz WRMS-04205039f24ea6e71d2ce94c7cb7e1395f95179e.zip | |
fix Playlist.OrderedList() breaking the index of all songs
Since 26f0033ebb5f8e7c204a042709e3dfa885eac868 and using Song pointers
the copied Playlist in OrderedList actually holds the same
Songs as the originally one.
This and the side effects in Playlist.Pop (setting the index to -1)
breaks the heap because all songs in the original queue now
have a invalid index (-1).
This is fixed by removing the side effect in Playlist.Pop().
Diffstat (limited to 'llog')
0 files changed, 0 insertions, 0 deletions
