diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-23 00:01:40 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-23 00:01:40 +0900 |
| commit | 1a299c4d7cf5ab8d130e678d152c4c47ae3430ea (patch) | |
| tree | 9045ad623be7ec199214a327524f00d8a9669632 /src/BtInterestedMessage.h | |
| parent | 09c597fbb83fcd4fd958dae38ab0f2c7718da570 (diff) | |
Use raw pointers to PieceStorage, PeerStorage and DownloadContxt for BtMessages
Diffstat (limited to 'src/BtInterestedMessage.h')
| -rw-r--r-- | src/BtInterestedMessage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BtInterestedMessage.h b/src/BtInterestedMessage.h index 392086f3..0f794126 100644 --- a/src/BtInterestedMessage.h +++ b/src/BtInterestedMessage.h @@ -44,7 +44,7 @@ class BtInterestedMessage; class BtInterestedMessage : public ZeroBtMessage { private: - std::shared_ptr<PeerStorage> peerStorage_; + PeerStorage* peerStorage_; public: BtInterestedMessage(); virtual ~BtInterestedMessage(); @@ -62,7 +62,7 @@ public: virtual ProgressUpdate* getProgressUpdate(); - void setPeerStorage(const std::shared_ptr<PeerStorage>& peerStorage); + void setPeerStorage(PeerStorage* peerStorage); }; } // namespace aria2 |
