diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-06 00:30:30 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-06 15:56:08 +0900 |
| commit | 697c1008f715669cdd6c8e5b7610a20182375253 (patch) | |
| tree | ae942c82de22caa3dc6273ff257827f80711bfc1 /src/SequentialDispatcherCommand.h | |
| parent | 6b397c812520016f7b2b22544f51bfddbcca8dfe (diff) | |
DownloadEngine: Use std::unique_ptr for checkIntegrityMan_, fileAllocationMan_
Diffstat (limited to 'src/SequentialDispatcherCommand.h')
| -rw-r--r-- | src/SequentialDispatcherCommand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SequentialDispatcherCommand.h b/src/SequentialDispatcherCommand.h index 8680629d..359807e2 100644 --- a/src/SequentialDispatcherCommand.h +++ b/src/SequentialDispatcherCommand.h @@ -50,7 +50,7 @@ class DownloadEngine; template<typename T> class SequentialDispatcherCommand : public Command { private: - std::shared_ptr<SequentialPicker<T> > picker_; + SequentialPicker<T>* picker_; DownloadEngine* e_; protected: @@ -61,7 +61,7 @@ protected: public: SequentialDispatcherCommand (cuid_t cuid, - const std::shared_ptr<SequentialPicker<T>>& picker, + SequentialPicker<T>* picker, DownloadEngine* e) : Command{cuid}, picker_{picker}, e_{e} { |
