diff options
Diffstat (limited to 'src/MultiFileAllocationIterator.cc')
| -rw-r--r-- | src/MultiFileAllocationIterator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MultiFileAllocationIterator.cc b/src/MultiFileAllocationIterator.cc index 5f79633d..6ab48821 100644 --- a/src/MultiFileAllocationIterator.cc +++ b/src/MultiFileAllocationIterator.cc @@ -58,9 +58,9 @@ void MultiFileAllocationIterator::allocateChunk() if(_entries.empty()) { break; } - DiskWriterEntryHandle entry = _entries.front(); + SharedHandle<DiskWriterEntry> entry = _entries.front(); _entries.pop_front(); - FileEntryHandle fileEntry = entry->getFileEntry(); + SharedHandle<FileEntry> fileEntry = entry->getFileEntry(); // Open file before calling DiskWriterEntry::size() _diskAdaptor->openIfNot(entry, &DiskWriterEntry::openFile); if(entry->needsFileAllocation() && entry->size() < fileEntry->getLength()) { |
