diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-21 13:51:56 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-21 13:51:56 +0000 |
| commit | ca4940622c05e50a50f77c621ade914029663446 (patch) | |
| tree | 2715d87c6b4faa669ae317f6f95d9694630cd4a0 /src/FileAllocationEntry.cc | |
| parent | ae957baa98d4f97ea2437596db5073f9c33d22ae (diff) | |
2010-06-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Changed naming standards for class member variable: now it looks
like var_ instead of _var.
Diffstat (limited to 'src/FileAllocationEntry.cc')
| -rw-r--r-- | src/FileAllocationEntry.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/FileAllocationEntry.cc b/src/FileAllocationEntry.cc index dc9cee6c..441363d5 100644 --- a/src/FileAllocationEntry.cc +++ b/src/FileAllocationEntry.cc @@ -47,7 +47,7 @@ namespace aria2 { FileAllocationEntry::FileAllocationEntry(RequestGroup* requestGroup, Command* nextCommand): RequestGroupEntry(requestGroup, nextCommand), - _fileAllocationIterator(requestGroup->getPieceStorage()->getDiskAdaptor()->fileAllocationIterator()) + fileAllocationIterator_(requestGroup->getPieceStorage()->getDiskAdaptor()->fileAllocationIterator()) { getRequestGroup()->getPieceStorage()->getDiskAdaptor()->enableDirectIO(); } @@ -59,22 +59,22 @@ FileAllocationEntry:: ~FileAllocationEntry() off_t FileAllocationEntry::getCurrentLength() { - return _fileAllocationIterator->getCurrentLength(); + return fileAllocationIterator_->getCurrentLength(); } uint64_t FileAllocationEntry::getTotalLength() { - return _fileAllocationIterator->getTotalLength(); + return fileAllocationIterator_->getTotalLength(); } bool FileAllocationEntry::finished() { - return _fileAllocationIterator->finished(); + return fileAllocationIterator_->finished(); } void FileAllocationEntry::allocateChunk() { - _fileAllocationIterator->allocateChunk(); + fileAllocationIterator_->allocateChunk(); } void FileAllocationEntry::disableDirectIO() |
