x = y::pointer() -> x.reset()

This commit is contained in:
JoelKatz
2012-11-02 09:00:29 -07:00
parent fc9e2f4b4e
commit 6394ca2341
11 changed files with 18 additions and 17 deletions

View File

@@ -41,7 +41,7 @@ void Peer::handle_write(const boost::system::error_code& error, size_t bytes_tra
// std::cerr << "Peer::handle_write bytes: "<< bytes_transferred << std::endl;
#endif
mSendingPacket = PackedMessage::pointer();
mSendingPacket.reset();
if (mDetaching)
{