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

CIProfileHost: Fix shadowing warning

This commit is contained in:
reuk 2025-04-01 11:12:18 +01:00
parent ad2315fdea
commit 392442906e
No known key found for this signature in database

View file

@ -76,13 +76,13 @@ private:
{
auto header = output->getReplyHeader (detail::MessageMeta::Meta<Message::ProfileInquiryResponse>::subID2);
const auto sendIfNonEmpty = [&] (const auto group, const auto& state)
const auto sendIfNonEmpty = [&] (const auto groupIn, const auto& state)
{
if (! state.empty())
{
const auto active = state.getActive();
const auto inactive = state.getInactive();
detail::MessageTypeUtils::send (*output, (uint8_t) group, header, Message::ProfileInquiryResponse { active, inactive });
detail::MessageTypeUtils::send (*output, (uint8_t) groupIn, header, Message::ProfileInquiryResponse { active, inactive });
}
};