Skip to content

Commit c58f283

Browse files
committed
add {} avoid possible bug
1 parent b3bbd05 commit c58f283

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/AppleMIDI.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,13 @@ void AppleMIDISession<UdpClass, Settings, Platform>::ReceivedDataInvitation(Appl
223223

224224
// Inform that we have an established connection
225225
if (nullptr != _connectedCallback)
226+
{
226227
#ifdef KEEP_SESSION_NAME
227228
_connectedCallback(ssrc_, pParticipant->sessionName);
228229
#else
229230
_connectedCallback(ssrc_, nullptr);
230231
#endif
232+
}
231233
}
232234

233235
template <class UdpClass, class Settings, class Platform>

0 commit comments

Comments
 (0)