@@ -504,18 +504,17 @@ ROOT::Internal::RPageSourceFile::PrepareSingleCluster(const RCluster::RKey &clus
504
504
std::vector<ROnDiskPageLocator> onDiskPages;
505
505
auto activeSize = 0 ;
506
506
auto pageZeroMap = std::make_unique<ROnDiskPageMap>();
507
- PrepareLoadCluster (clusterKey, *pageZeroMap,
508
- [&](ROOT::DescriptorId_t physicalColumnId, ROOT::NTupleSize_t pageNo,
509
- const ROOT::RClusterDescriptor::RPageInfo &pageInfo) {
510
- const auto &pageLocator = pageInfo.GetLocator ();
511
- if (pageLocator.GetType () == RNTupleLocator::kTypeUnknown )
512
- throw RException (R__FAIL (" tried to read a page with an unknown locator" ));
513
- const auto nBytes =
514
- pageLocator.GetNBytesOnStorage () + pageInfo.HasChecksum () * kNBytesPageChecksum ;
515
- activeSize += nBytes;
516
- onDiskPages.push_back (
517
- {physicalColumnId, pageNo, pageLocator.GetPosition <std::uint64_t >(), nBytes, 0 });
518
- });
507
+ PrepareLoadCluster (
508
+ clusterKey, *pageZeroMap,
509
+ [&](ROOT::DescriptorId_t physicalColumnId, ROOT::NTupleSize_t pageNo,
510
+ const ROOT::RClusterDescriptor::RPageInfo &pageInfo) {
511
+ const auto &pageLocator = pageInfo.GetLocator ();
512
+ if (pageLocator.GetType () == RNTupleLocator::kTypeUnknown )
513
+ throw RException (R__FAIL (" tried to read a page with an unknown locator" ));
514
+ const auto nBytes = pageLocator.GetNBytesOnStorage () + pageInfo.HasChecksum () * kNBytesPageChecksum ;
515
+ activeSize += nBytes;
516
+ onDiskPages.push_back ({physicalColumnId, pageNo, pageLocator.GetPosition <std::uint64_t >(), nBytes, 0 });
517
+ });
519
518
520
519
// Linearize the page requests by file offset
521
520
std::sort (onDiskPages.begin (), onDiskPages.end (),
0 commit comments