refactor(tracker): change Iterate() func(yield):s to Iterate(yield)

This commit is contained in:
2024-10-15 09:09:17 +03:00
parent 3986bbede7
commit b494a69a76
11 changed files with 90 additions and 104 deletions
+1 -3
View File
@@ -27,9 +27,7 @@ type (
NullMIDIContext struct{}
)
func (m NullMIDIContext) ListInputDevices() func(yield func(tracker.MIDIDevice) bool) {
return func(yield func(tracker.MIDIDevice) bool) {}
}
func (m NullMIDIContext) InputDevices(yield func(tracker.MIDIDevice) bool) {}
func (m NullMIDIContext) Close() {}