Commit f09391f
authored
* Update Chord.swift
Added `Hashable` conformance to `Chord`.
* Update Key.swift
Added `Hashable` conformance to `Key`.
* Update Accidental.swift
Added `Sendable` conformance to `Accidental`.
* Update Letter.swift
Added `Sendable` conformance to `Letter`.
* Update NoteClass.swift
Added `Sendable` conformance to `NoteClass`.
* Update ChordType.swift
Added `Sendable` conformance to `ChordType`.
* Update Chord.swift
Added `Sendable` conformance to `Chord`.
* Update Interval.swift
Added `Sendable` conformance to `Interval`.
* Update Scale.swift
Added `Sendable` conformance to `Scale`.
* Update BitSet.swift
Added `Sendable` conformance to `BitSet` protocol.
* Update BitSet.swift
Added `Sendable` conformance to `BitSetAdapter`.
* Update Key.swift
Added `Sendable` conformance to `Key`.
* Update Note.swift
Added `Sendable` conformance to `Note`.
* Update Note+MiddleCStandard.swift
Added `Sendable` conformance to `Note.MiddleCStandard`.
* Update Octave.swift
Added `Sendable` conformance to `Octave`.
* Update Pitch.swift
Added `Sendable` conformance to `Pitch`.
* Update PitchColor.swift
Added `Sendable` conformance to `PitchColor`.
* Update NoteClass+Shortcuts.swift
Changed static variable to static constant, as it shouldn't be mutable.
* Update NoteClass+Shortcuts.swift
Changed remaining `NoteClass` static variable "shortcuts" to static constants. This ensures that they're concurrency-safe. They shouldn't be mutable anyway.
* Update Chord+Shortcuts.swift
Changed remaining `Chord` static variable "shortcuts" to static constants. This ensures that they're concurrency-safe. They shouldn't be mutable anyway.
* Update Note+Shortcuts.swift
Changed remaining `Note` static variable "shortcuts" to static constants. This ensures that they're concurrency-safe. They shouldn't be mutable anyway.
1 parent 76d61ce commit f09391f
File tree
17 files changed
+169
-169
lines changed- Sources/Tonic
17 files changed
+169
-169
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
0 commit comments