diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-02 23:52:40 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-02 23:52:40 +0900 |
| commit | f022402dc91e7796032dfbeacd730bb8bf201920 (patch) | |
| tree | c1077b38113cbdf3fc8f2ac01c8846e770d81814 /src/DHTGetPeersCommand.h | |
| parent | 1a5d75e819604a46b72d1f07401ac5017c96ad15 (diff) | |
Use std::unique_ptr in DHTRegistry
Diffstat (limited to 'src/DHTGetPeersCommand.h')
| -rw-r--r-- | src/DHTGetPeersCommand.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DHTGetPeersCommand.h b/src/DHTGetPeersCommand.h index 03ee64dc..f6e81517 100644 --- a/src/DHTGetPeersCommand.h +++ b/src/DHTGetPeersCommand.h @@ -62,9 +62,9 @@ private: DownloadEngine* e_; - std::shared_ptr<DHTTaskQueue> taskQueue_; + DHTTaskQueue* taskQueue_; - std::shared_ptr<DHTTaskFactory> taskFactory_; + DHTTaskFactory* taskFactory_; std::shared_ptr<DHTTask> task_; @@ -79,9 +79,9 @@ public: virtual bool execute(); - void setTaskQueue(const std::shared_ptr<DHTTaskQueue>& taskQueue); + void setTaskQueue(DHTTaskQueue* taskQueue); - void setTaskFactory(const std::shared_ptr<DHTTaskFactory>& taskFactory); + void setTaskFactory(DHTTaskFactory* taskFactory); void setBtRuntime(const std::shared_ptr<BtRuntime>& btRuntime); |
