summaryrefslogtreecommitdiff
path: root/src/FileAllocationEntry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileAllocationEntry.cc')
-rw-r--r--src/FileAllocationEntry.cc10
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()