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/DHTTokenUpdateCommand.h | |
| parent | 1a5d75e819604a46b72d1f07401ac5017c96ad15 (diff) | |
Use std::unique_ptr in DHTRegistry
Diffstat (limited to 'src/DHTTokenUpdateCommand.h')
| -rw-r--r-- | src/DHTTokenUpdateCommand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DHTTokenUpdateCommand.h b/src/DHTTokenUpdateCommand.h index cec5ca30..be81a5e4 100644 --- a/src/DHTTokenUpdateCommand.h +++ b/src/DHTTokenUpdateCommand.h @@ -45,7 +45,7 @@ class DHTTokenTracker; class DHTTokenUpdateCommand:public TimeBasedCommand { private: - std::shared_ptr<DHTTokenTracker> tokenTracker_; + DHTTokenTracker* tokenTracker_; public: DHTTokenUpdateCommand(cuid_t cuid, DownloadEngine* e, time_t interval); @@ -55,7 +55,7 @@ public: virtual void process(); - void setTokenTracker(const std::shared_ptr<DHTTokenTracker>& tokenTracker); + void setTokenTracker(DHTTokenTracker* tokenTracker); }; } // namespace aria2 |
