Skip to content

Commit

Permalink
Refs #20438: Fix windows build
Browse files Browse the repository at this point in the history
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
  • Loading branch information
cferreiragonz committed Feb 22, 2024
1 parent 402459f commit 1e77f7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpp/rtps/transport/TCPTransportInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -772,9 +772,9 @@ bool TCPTransportInterface::OpenOutputChannel(
std::vector<Locator> list;
std::vector<fastrtps::rtps::IPFinder::info_IP> local_interfaces;
get_ips(local_interfaces);
for (const auto& interface : local_interfaces)
for (const auto& interface_it : local_interfaces)
{
Locator interface_loc(interface.locator);
Locator interface_loc(interface_it.locator);
interface_loc.port = physical_locator.port;
if (is_interface_allowed(interface_loc))
{
Expand Down

0 comments on commit 1e77f7d

Please sign in to comment.