summaryrefslogtreecommitdiff
path: root/src/FileAllocationCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-06 00:17:44 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-06 15:56:08 +0900
commit6b397c812520016f7b2b22544f51bfddbcca8dfe (patch)
tree6dcf656fb19da47833324111efcee62c66809365 /src/FileAllocationCommand.h
parentc9e58779e1a30b32ea2f86e686211d901aca19f0 (diff)
Use std::unique_ptr for CheckIntegrityEntry and FileAllocationEntry
Diffstat (limited to 'src/FileAllocationCommand.h')
-rw-r--r--src/FileAllocationCommand.h4
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();