diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-06 00:17:44 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-06 15:56:08 +0900 |
| commit | 6b397c812520016f7b2b22544f51bfddbcca8dfe (patch) | |
| tree | 6dcf656fb19da47833324111efcee62c66809365 /src/FileAllocationCommand.h | |
| parent | c9e58779e1a30b32ea2f86e686211d901aca19f0 (diff) | |
Use std::unique_ptr for CheckIntegrityEntry and FileAllocationEntry
Diffstat (limited to 'src/FileAllocationCommand.h')
| -rw-r--r-- | src/FileAllocationCommand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FileAllocationCommand.h b/src/FileAllocationCommand.h index cad28e4c..d8f6bbf7 100644 --- a/src/FileAllocationCommand.h +++ b/src/FileAllocationCommand.h @@ -47,12 +47,12 @@ class FileAllocationEntry; class FileAllocationCommand : public RealtimeCommand { private: - std::shared_ptr<FileAllocationEntry> fileAllocationEntry_; + FileAllocationEntry* fileAllocationEntry_; Timer timer_; public: FileAllocationCommand(cuid_t cuid, RequestGroup* requestGroup, DownloadEngine* e, - const std::shared_ptr<FileAllocationEntry>& fileAllocationEntry); + FileAllocationEntry* fileAllocationEntry); virtual ~FileAllocationCommand(); |
