Skip to content

Commit e89a15e

Browse files
committed
Refs #23432. Remove unnecessary lambda in ChainingSenderResource.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
1 parent 94b1227 commit e89a15e

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/cpp/rtps/transport/ChainingSenderResource.hpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,6 @@ class ChainingSenderResource : public SenderResource
3939
// low_sender_resources_ makes its clean up on destruction.
4040
};
4141

42-
send_buffers_lambda_ = [this, &transport](
43-
const std::vector<NetworkBuffer>& buffers,
44-
uint32_t total_bytes,
45-
LocatorsIterator* destination_locators_begin,
46-
LocatorsIterator* destination_locators_end,
47-
const std::chrono::steady_clock::time_point& timeout) -> bool
48-
{
49-
if (low_sender_resource_)
50-
{
51-
return transport.send_w_priority(low_sender_resource_.get(), buffers, total_bytes,
52-
destination_locators_begin, destination_locators_end, timeout, 0);
53-
}
54-
55-
return false;
56-
};
57-
5842
send_lambda_ = [this, &transport](
5943
const std::vector<NetworkBuffer>& buffers,
6044
uint32_t total_bytes,

0 commit comments

Comments
 (0)