diff options
Diffstat (limited to 'src/AdaptiveFileAllocationIterator.cc')
| -rw-r--r-- | src/AdaptiveFileAllocationIterator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AdaptiveFileAllocationIterator.cc b/src/AdaptiveFileAllocationIterator.cc index 19010217..cd1fe1e5 100644 --- a/src/AdaptiveFileAllocationIterator.cc +++ b/src/AdaptiveFileAllocationIterator.cc @@ -53,7 +53,7 @@ AdaptiveFileAllocationIterator::~AdaptiveFileAllocationIterator() {} void AdaptiveFileAllocationIterator::allocateChunk() { - if(allocator_.isNull()) { + if(!allocator_) { #ifdef HAVE_FALLOCATE try { if(logger_->debug()) { @@ -92,7 +92,7 @@ void AdaptiveFileAllocationIterator::allocateChunk() bool AdaptiveFileAllocationIterator::finished() { - if(allocator_.isNull()) { + if(!allocator_) { return (uint64_t)offset_ == totalLength_; } else { return allocator_->finished(); |
