Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
IndignantAngel committed Oct 12, 2016
1 parent c0edcf7 commit 9313a6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rest_rpc/server/ios_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ namespace timax { namespace rpc
auto& conn_ptr = delay_messages.front().first;
auto& ctx_ptr = delay_messages.front().second;

async_write(conn_ptr->socket(), ctx_ptr->get_message(), boost::bind(
&ios_wrapper::handle_write, this, std::move(delay_messages), asio_error));
async_write(conn_ptr->socket(), ctx_ptr->get_message(), std::bind(
&ios_wrapper::handle_write, this, std::move(delay_messages), std::placeholders::_1));
}

private:
Expand Down

0 comments on commit 9313a6e

Please sign in to comment.