Use raw pointers to PieceStorage, PeerStorage and DownloadContxt for BtMessages

This commit is contained in:
Tatsuhiro Tsujikawa 2013-06-23 00:01:40 +09:00
parent 09c597fbb8
commit 1a299c4d7c
21 changed files with 87 additions and 63 deletions

View file

@ -117,7 +117,7 @@ public:
msg->setBlockIndex(2);
msg->setBtMessageDispatcher(dispatcher_.get());
msg->setBtMessageFactory(messageFactory_.get());
msg->setPieceStorage(pieceStorage_);
msg->setPieceStorage(pieceStorage_.get());
}
};