Skip to content

Commit 90ed338

Browse files
Duarte FonsecaDuarte Fonseca
authored andcommitted
adding missing change
1 parent da606fc commit 90ed338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

implementation/endpoints/src/tcp_client_endpoint_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ void tcp_client_endpoint_impl::send_cbk(boost::system::error_code const &_error,
941941
const message_buffer_ptr_t& _sent_msg) {
942942
(void)_bytes;
943943

944-
std::lock_guard<std::recursive_mutex> its_lock(mutex_);
944+
std::scoped_lock<std::recursive_mutex> its_lock(mutex_);
945945
sent_timer_.cancel();
946946

947947
if (!_error) {

0 commit comments

Comments
 (0)