fixed creash

This commit is contained in:
orignal 2014-04-23 17:51:12 -04:00
parent 5e1f3a4939
commit 3e81123d94

View File

@ -214,7 +214,7 @@ namespace stream
}
}
m_ReceiveTimer.expires_from_now (boost::posix_time::seconds(timeout));
m_ReceiveTimer.async_wait ([&buffer, handler, this](const boost::system::error_code& ecode)
m_ReceiveTimer.async_wait ([=](const boost::system::error_code& ecode)
{ this->HandleReceiveTimer (ecode, buffer, handler); });
}