Skip to content

Commit 3924429

Browse files
committed
CIProfileHost: Fix shadowing warning
1 parent ad2315f commit 3924429

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/juce_midi_ci/ci/juce_CIProfileHost.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ class ProfileHost::Visitor : public detail::MessageTypeUtils::MessageVisitor
7676
{
7777
auto header = output->getReplyHeader (detail::MessageMeta::Meta<Message::ProfileInquiryResponse>::subID2);
7878

79-
const auto sendIfNonEmpty = [&] (const auto group, const auto& state)
79+
const auto sendIfNonEmpty = [&] (const auto groupIn, const auto& state)
8080
{
8181
if (! state.empty())
8282
{
8383
const auto active = state.getActive();
8484
const auto inactive = state.getInactive();
85-
detail::MessageTypeUtils::send (*output, (uint8_t) group, header, Message::ProfileInquiryResponse { active, inactive });
85+
detail::MessageTypeUtils::send (*output, (uint8_t) groupIn, header, Message::ProfileInquiryResponse { active, inactive });
8686
}
8787
};
8888

0 commit comments

Comments
 (0)