summaryrefslogtreecommitdiff
path: root/src/DownloadEngine.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-06 19:39:16 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-06 19:39:16 +0900
commit00e27e4fa47477109fc467d96241a0fabd3c4ad2 (patch)
tree8a89546863e3071329a897364bd09ee1473e8650 /src/DownloadEngine.h
parentf83b0fcfa38cf80b15b275d48c131fa691d3006b (diff)
DownloadEngine: Use std::unique_ptr for eventPoll_
Diffstat (limited to 'src/DownloadEngine.h')
-rw-r--r--src/DownloadEngine.h4
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();