Skip to content

Commit

Permalink
fixed compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
volcoma committed Oct 8, 2023
1 parent 9ad0449 commit af06b07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netpp/asiopp/common/connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ template <typename socket_type>
inline void asio_connection<socket_type>::start()
{
connected_ = true;
asio::dispatch(*strand_, std::bind(&start_read, this->shared_from_this()));
asio::dispatch(*strand_, std::bind(&await_output, this->shared_from_this()));
asio::dispatch(*strand_, std::bind(&asio_connection::start_read, this->shared_from_this()));
asio::dispatch(*strand_, std::bind(&asio_connection::await_output, this->shared_from_this()));

if(heartbeat_check_interval_ > std::chrono::seconds::zero())
{
Expand Down

0 comments on commit af06b07

Please sign in to comment.