mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 05:27:38 +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
|
@ -40,7 +40,7 @@ public:
|
|||
exmsgFactory_.reset(new MockExtensionMessageFactory());
|
||||
|
||||
factory_.reset(new DefaultBtMessageFactory());
|
||||
factory_->setDownloadContext(dctx_);
|
||||
factory_->setDownloadContext(dctx_.get());
|
||||
factory_->setPeer(peer_);
|
||||
factory_->setExtensionMessageFactory(exmsgFactory_);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue