1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:47:45 +00:00

LibDSP: Improve const correctness

This commit is contained in:
kleines Filmröllchen 2022-05-11 21:49:41 +02:00 committed by Linus Groh
parent 4a6ebb8beb
commit bcb331b862
8 changed files with 23 additions and 22 deletions

View file

@ -47,7 +47,7 @@ class NoteClip final : public Clip {
public:
void set_note(RollNote note);
Array<SinglyLinkedList<RollNote>, note_count>& notes() { return m_notes; }
Array<SinglyLinkedList<RollNote>, note_count> const& notes() const { return m_notes; }
private:
Array<SinglyLinkedList<RollNote>, note_count> m_notes;