mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 13:37:40 +03:00
Use raw pointers to PieceStorage, PeerStorage and DownloadContxt for BtMessages
This commit is contained in:
parent
09c597fbb8
commit
1a299c4d7c
21 changed files with 87 additions and 63 deletions
|
@ -117,7 +117,7 @@ public:
|
|||
msg->setBlockIndex(2);
|
||||
msg->setBtMessageDispatcher(dispatcher_.get());
|
||||
msg->setBtMessageFactory(messageFactory_.get());
|
||||
msg->setPieceStorage(pieceStorage_);
|
||||
msg->setPieceStorage(pieceStorage_.get());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue