From e1035a03f75f377ed2840f3a1da0236f3465bf9d Mon Sep 17 00:00:00 2001 From: lathoub Date: Sun, 10 Oct 2021 12:13:30 +0200 Subject: [PATCH] Update MIDI.hpp fixed errors (return -> return *this where needed) --- src/MIDI.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MIDI.hpp b/src/MIDI.hpp index 00f78b4..3e5be14 100644 --- a/src/MIDI.hpp +++ b/src/MIDI.hpp @@ -120,7 +120,7 @@ template MidiInterface& MidiInterface::send(const MidiMessage& inMessage) { if (!inMessage.valid) - return; + return *this; if (mTransport.beginTransmission(inMessage.type)) { @@ -173,7 +173,7 @@ MidiInterface& MidiInterface& MidiInterface& MidiInterface