summaryrefslogtreecommitdiff
path: root/src/TruncFileAllocationIterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/TruncFileAllocationIterator.h')
-rw-r--r--src/TruncFileAllocationIterator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/TruncFileAllocationIterator.h b/src/TruncFileAllocationIterator.h
index 0ce43470..ff6e3c44 100644
--- a/src/TruncFileAllocationIterator.h
+++ b/src/TruncFileAllocationIterator.h
@@ -43,11 +43,12 @@ namespace aria2 {
// Use ftruncate() system call or platform-specific counterpart to set
// file length. This allocator may not allocate file space, it just
// changes file length information.
-class TruncFileAllocationIterator:public FileAllocationIterator {
+class TruncFileAllocationIterator : public FileAllocationIterator {
private:
BinaryStream* stream_;
int64_t offset_;
int64_t totalLength_;
+
public:
TruncFileAllocationIterator(BinaryStream* stream, int64_t offset,
int64_t totalLength);