summaryrefslogtreecommitdiff
path: root/src/AdaptiveFileAllocationIterator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/AdaptiveFileAllocationIterator.h')
-rw-r--r--src/AdaptiveFileAllocationIterator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AdaptiveFileAllocationIterator.h b/src/AdaptiveFileAllocationIterator.h
index 637a7cae..cac27bc3 100644
--- a/src/AdaptiveFileAllocationIterator.h
+++ b/src/AdaptiveFileAllocationIterator.h
@@ -66,7 +66,7 @@ public:
virtual off_t getCurrentLength()
{
- if(allocator_.isNull()) {
+ if(!allocator_) {
return offset_;
} else {
return allocator_->getCurrentLength();