1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:27:45 +00:00

AK: Add support for removing SinglyLinkedList nodes during iteration

This commit also fixes the now-broken usage of SinglyLinkedList::remove
in the Piano application.
This commit is contained in:
Idan Horowitz 2021-06-15 23:46:54 +03:00 committed by Linus Groh
parent 08ff148bc3
commit 8c7fe8d6c8
4 changed files with 60 additions and 28 deletions

View file

@ -86,5 +86,5 @@ private:
const u32& m_time;
SinglyLinkedList<RollNote> m_roll_notes[note_count];
RollIter m_roll_iters[note_count];
RollIter m_roll_iterators[note_count];
};