summaryrefslogtreecommitdiff
path: root/src/TruncFileAllocationIterator.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:39:47 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:40:08 +0900
commitb1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch)
tree9ce465b42bf09372118335c7c619bb2b41869eaf /src/TruncFileAllocationIterator.h
parent4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff)
make clang-format using clang-format-3.6
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);