Skip to content

Commit

Permalink
Fix build on old compilers (#3349)
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <[email protected]>
(cherry picked from commit eeab683)

Co-authored-by: Ricardo González <[email protected]>
  • Loading branch information
mergify[bot] and richiware authored Mar 10, 2023
1 parent b291a72 commit f68fb42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/rtps/transport/ChainingTransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ bool ChainingTransport::OpenInputChannel(
if (iterator == receiver_resources_.end())
{
ChainingReceiverResource* receiver_resource = new ChainingReceiverResource(*this, receiver_interface);
receiver_resources_.emplace(loc, receiver_resource);
receiver_resources_.emplace(loc, ChainingReceiverResourceReferenceType(receiver_resource));
return low_level_transport_->OpenInputChannel(loc, receiver_resource, max_message_size);
}

Expand Down

0 comments on commit f68fb42

Please sign in to comment.