summaryrefslogtreecommitdiff
path: root/src/PeerInteractionCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-23 12:02:36 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-23 12:02:36 +0900
commitbfb732c5d47678f155bbec319bac94068b679b69 (patch)
tree42aaf80f1990081e69930aef61864eae995b01f2 /src/PeerInteractionCommand.cc
parentbef6236da80cb18a3212bde7c33c556883cbd536 (diff)
DefaultBtRequestFactory: Use raw pointer for pieceStorage_
Diffstat (limited to 'src/PeerInteractionCommand.cc')
-rw-r--r--src/PeerInteractionCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PeerInteractionCommand.cc b/src/PeerInteractionCommand.cc
index 35b18328..b89d5c53 100644
--- a/src/PeerInteractionCommand.cc
+++ b/src/PeerInteractionCommand.cc
@@ -212,7 +212,7 @@ PeerInteractionCommand::PeerInteractionCommand
DefaultBtRequestFactory* reqFactoryPtr(new DefaultBtRequestFactory());
reqFactoryPtr->setPeer(getPeer());
- reqFactoryPtr->setPieceStorage(pieceStorage);
+ reqFactoryPtr->setPieceStorage(pieceStorage.get());
reqFactoryPtr->setBtMessageDispatcher(dispatcherPtr);
reqFactoryPtr->setBtMessageFactory(factoryPtr);
reqFactoryPtr->setCuid(cuid);