Skip to content

Commit

Permalink
Issue test compilation warning
Browse files Browse the repository at this point in the history
Signed-off-by: Juan López Fernández <juanlopez@eprosima.com>
  • Loading branch information
juanlofer-eprosima committed Jul 7, 2023
1 parent 1ad167e commit dbb0d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/blackbox/common/DDSBlackboxTestsTransportSHMUDP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void run_parametrized_test(
// even and user ones odd.
// uint32_t n_packages_sent = test_UDPv4Transport::messages_sent[conditions.sub_unicast_port];
uint32_t n_packages_sent = 0;
for (const std::pair<uint32_t, uint32_t>& item : test_UDPv4Transport::messages_sent)
for (const auto& item : test_UDPv4Transport::messages_sent)
{
if (item.first % 2)
{
Expand Down

0 comments on commit dbb0d65

Please sign in to comment.