1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

Use NullCheckedInvocation in more places

This commit is contained in:
Tom Poole 2023-09-26 11:06:31 +01:00
parent 84750f2f2a
commit ff0cb4ad5b
46 changed files with 145 additions and 258 deletions

View file

@ -440,8 +440,7 @@ struct OSCReceiver::Pimpl : private Thread,
}
catch (const OSCFormatError&)
{
if (formatErrorHandler != nullptr)
formatErrorHandler (data, (int) dataSize);
NullCheckedInvocation::invoke (formatErrorHandler, data, (int) dataSize);
}
}