diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-06 19:39:16 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-06 19:39:16 +0900 |
| commit | 00e27e4fa47477109fc467d96241a0fabd3c4ad2 (patch) | |
| tree | 8a89546863e3071329a897364bd09ee1473e8650 /src/DownloadEngine.h | |
| parent | f83b0fcfa38cf80b15b275d48c131fa691d3006b (diff) | |
DownloadEngine: Use std::unique_ptr for eventPoll_
Diffstat (limited to 'src/DownloadEngine.h')
| -rw-r--r-- | src/DownloadEngine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DownloadEngine.h b/src/DownloadEngine.h index efc9fcc4..dad7773a 100644 --- a/src/DownloadEngine.h +++ b/src/DownloadEngine.h @@ -80,7 +80,7 @@ private: std::string sessionId_; - std::shared_ptr<EventPoll> eventPoll_; + std::unique_ptr<EventPoll> eventPoll_; std::unique_ptr<StatCalc> statCalc_; @@ -173,7 +173,7 @@ private: std::unique_ptr<CheckIntegrityMan> checkIntegrityMan_; Option* option_; public: - DownloadEngine(const std::shared_ptr<EventPoll>& eventPoll); + DownloadEngine(std::unique_ptr<EventPoll> eventPoll); ~DownloadEngine(); |
