Skip to content

Commit

Permalink
Removed one more captured reference
Browse files Browse the repository at this point in the history
This reference was reported in COVESA#730

Co-authored-by: AramKh
  • Loading branch information
kheaactua committed Oct 10, 2024
1 parent 55af6f8 commit aaf6b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion implementation/endpoints/src/tcp_client_endpoint_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ void tcp_client_endpoint_impl::receive_cbk(
} else {
its_lock.unlock();
auto self = std::dynamic_pointer_cast< tcp_client_endpoint_impl >(shared_from_this());
strand_.dispatch([self, &_recv_buffer, _recv_buffer_size, its_missing_capacity](){
strand_.dispatch([self, _recv_buffer, _recv_buffer_size, its_missing_capacity](){
self->receive(_recv_buffer, _recv_buffer_size, its_missing_capacity);
});
}
Expand Down

0 comments on commit aaf6b6e

Please sign in to comment.