summaryrefslogtreecommitdiff
path: root/src/FileAllocationEntry.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-05 21:54:07 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-06 15:56:08 +0900
commitf8d305fe639a2a458106f3f233f696157c6ab06d (patch)
treec55db59952332c1f29e665d44781a82bf2580f83 /src/FileAllocationEntry.h
parent345ba415a50fbf99b1f0049f29be62d0bd11c608 (diff)
Use std::unique_ptr for FileAllocationIterator
Diffstat (limited to 'src/FileAllocationEntry.h')
-rw-r--r--src/FileAllocationEntry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileAllocationEntry.h b/src/FileAllocationEntry.h
index 6811f56f..60893f49 100644
--- a/src/FileAllocationEntry.h
+++ b/src/FileAllocationEntry.h
@@ -50,7 +50,7 @@ class DownloadEngine;
class FileAllocationEntry : public RequestGroupEntry, public ProgressAwareEntry {
private:
- std::shared_ptr<FileAllocationIterator> fileAllocationIterator_;
+ std::unique_ptr<FileAllocationIterator> fileAllocationIterator_;
public:
FileAllocationEntry(RequestGroup* requestGroup,
std::unique_ptr<Command> nextCommand =