diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-09 15:04:01 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-06-09 15:04:01 +0000 |
| commit | a68b29a31abdf69c34b36a9c31d834a8bb71852e (patch) | |
| tree | be0cf6590671b3dc4472bdbf26a7d911c5871279 /src/FileAllocationEntry.cc | |
| parent | f114c890961ef9a0f7666b077b40d22f39b6cdd3 (diff) | |
2010-06-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made protected member variable private. Added accessor funcs.
* src/BtCheckIntegrityEntry.cc
* src/BtFileAllocationEntry.cc
* src/CheckIntegrityEntry.cc
* src/CheckIntegrityEntry.h
* src/ChecksumCheckIntegrityEntry.cc
* src/FileAllocationEntry.cc
* src/PieceHashCheckIntegrityEntry.cc
* src/RequestGroupEntry.h
* src/StreamCheckIntegrityEntry.cc
* src/StreamFileAllocationEntry.cc
Diffstat (limited to 'src/FileAllocationEntry.cc')
| -rw-r--r-- | src/FileAllocationEntry.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FileAllocationEntry.cc b/src/FileAllocationEntry.cc index e6829602..dc9cee6c 100644 --- a/src/FileAllocationEntry.cc +++ b/src/FileAllocationEntry.cc @@ -49,12 +49,12 @@ FileAllocationEntry::FileAllocationEntry(RequestGroup* requestGroup, Command* ne RequestGroupEntry(requestGroup, nextCommand), _fileAllocationIterator(requestGroup->getPieceStorage()->getDiskAdaptor()->fileAllocationIterator()) { - _requestGroup->getPieceStorage()->getDiskAdaptor()->enableDirectIO(); + getRequestGroup()->getPieceStorage()->getDiskAdaptor()->enableDirectIO(); } FileAllocationEntry:: ~FileAllocationEntry() { - _requestGroup->getPieceStorage()->getDiskAdaptor()->disableDirectIO(); + getRequestGroup()->getPieceStorage()->getDiskAdaptor()->disableDirectIO(); } off_t FileAllocationEntry::getCurrentLength() @@ -79,7 +79,7 @@ void FileAllocationEntry::allocateChunk() void FileAllocationEntry::disableDirectIO() { - _requestGroup->getPieceStorage()->getDiskAdaptor()->disableDirectIO(); + getRequestGroup()->getPieceStorage()->getDiskAdaptor()->disableDirectIO(); } } // namespace aria2 |
