summaryrefslogtreecommitdiff
path: root/src/FallocFileAllocationIterator.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-03-26 17:12:52 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-03-26 17:20:27 +0900
commitd64089632e82a2548752c7a6baaa68365a795a74 (patch)
tree57fc7b85a8c1290975d58fa4761b04a7695bf7e3 /src/FallocFileAllocationIterator.h
parentc81b1321122e8509b55c94c0cbca0d8d6d319f0c (diff)
parenta7cd943a06b1a5ff4515b57060b84037f8d01f9f (diff)
Merge branch 'master' into random-webseeding
Diffstat (limited to 'src/FallocFileAllocationIterator.h')
-rw-r--r--src/FallocFileAllocationIterator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FallocFileAllocationIterator.h b/src/FallocFileAllocationIterator.h
index 9c7f474e..fb306af1 100644
--- a/src/FallocFileAllocationIterator.h
+++ b/src/FallocFileAllocationIterator.h
@@ -41,11 +41,12 @@
namespace aria2 {
// Allocate disk space using posix_fallocate() system call.
-class FallocFileAllocationIterator:public FileAllocationIterator {
+class FallocFileAllocationIterator : public FileAllocationIterator {
private:
BinaryStream* stream_;
int64_t offset_;
int64_t totalLength_;
+
public:
FallocFileAllocationIterator(BinaryStream* stream, int64_t offset,
int64_t totalLength);
@@ -62,4 +63,3 @@ public:
} // namespace aria2
#endif // D_FALLOC_FILE_ALLOCATION_ITERATOR_H
-