mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:37:45 +00:00
Everywhere: Use ReadonlySpan<T> instead of Span<T const>
This commit is contained in:
parent
1c92e6ee9d
commit
63b11030f0
102 changed files with 206 additions and 206 deletions
|
@ -54,7 +54,7 @@ public:
|
|||
// May do nothing; that's fine.
|
||||
void remove_note(RollNote note);
|
||||
|
||||
Span<RollNote const> notes() const { return m_notes.span(); }
|
||||
ReadonlySpan<RollNote> notes() const { return m_notes.span(); }
|
||||
|
||||
RollNote operator[](size_t index) const { return m_notes[index]; }
|
||||
RollNote operator[](size_t index) { return m_notes[index]; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue