Skip to content

Commit

Permalink
Refs #12290. Fix warnings on Mac
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
  • Loading branch information
richiware committed Nov 24, 2021
1 parent c9ff96c commit 3cdc61c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cpp/rtps/transport/ChainingSenderResource.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ class ChainingSenderResource : public fastrtps::rtps::SenderResource
, low_sender_resource_(std::move(low_sender_resource))
{
// Implementation functions are bound to the right transport parameters
clean_up = [this, &transport]()
clean_up = []()
{
// No cleanup is required.
// low_sender_resources_ makes its clean up on destruction.
};

send_lambda_ = [this, &transport](
Expand Down

0 comments on commit 3cdc61c

Please sign in to comment.