Browse Source

fixed creash

pull/72/head
orignal 11 years ago
parent
commit
3e81123d94
  1. 2
      Streaming.h

2
Streaming.h

@ -214,7 +214,7 @@ namespace stream @@ -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); });
}

Loading…
Cancel
Save