Skip to content

Commit 2d27aed

Browse files
committed
[ntuple] RPagePersistentSink::fStreamerInfos --> fInfosOfStreamerFields
1 parent 4a789b0 commit 2d27aed

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tree/ntuple/inc/ROOT/RPageStorage.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ private:
447447
std::vector<ROOT::RClusterDescriptor::RPageRange> fOpenPageRanges;
448448

449449
/// Union of the streamer info records that are sent from streamer fields to the sink before committing the dataset.
450-
ROOT::Internal::RNTupleSerializer::StreamerInfoMap_t fStreamerInfos;
450+
ROOT::Internal::RNTupleSerializer::StreamerInfoMap_t fInfosOfStreamerFields;
451451

452452
protected:
453453
/// Set of optional features supported by the persistent sink

tree/ntuple/src/RPageStorage.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ void ROOT::Internal::RPagePersistentSink::UpdateExtraTypeInfo(const ROOT::RExtra
927927
if (extraTypeInfo.GetContentId() != EExtraTypeInfoIds::kStreamerInfo)
928928
throw RException(R__FAIL("ROOT bug: unexpected type extra info in UpdateExtraTypeInfo()"));
929929

930-
fStreamerInfos.merge(RNTupleSerializer::DeserializeStreamerInfos(extraTypeInfo.GetContent()).Unwrap());
930+
fInfosOfStreamerFields.merge(RNTupleSerializer::DeserializeStreamerInfos(extraTypeInfo.GetContent()).Unwrap());
931931
}
932932

933933
void ROOT::Internal::RPagePersistentSink::InitImpl(ROOT::RNTupleModel &model)
@@ -1255,7 +1255,7 @@ void ROOT::Internal::RPagePersistentSink::CommitClusterGroup()
12551255

12561256
void ROOT::Internal::RPagePersistentSink::CommitDatasetImpl()
12571257
{
1258-
if (!fStreamerInfos.empty()) {
1258+
if (!fInfosOfStreamerFields.empty()) {
12591259
// De-duplicate extra type infos before writing. Usually we won't have them already in the descriptor, but
12601260
// this may happen when we are writing back an already-existing RNTuple, e.g. when doing incremental merging.
12611261
for (const auto &etDesc : fDescriptorBuilder.GetDescriptor().GetExtraTypeInfoIterable()) {
@@ -1265,13 +1265,13 @@ void ROOT::Internal::RPagePersistentSink::CommitDatasetImpl()
12651265
R__ASSERT(etDesc.GetTypeName().empty());
12661266
R__ASSERT(etDesc.GetTypeVersion() == 0);
12671267
auto etInfo = RNTupleSerializer::DeserializeStreamerInfos(etDesc.GetContent()).Unwrap();
1268-
fStreamerInfos.merge(etInfo);
1268+
fInfosOfStreamerFields.merge(etInfo);
12691269
}
12701270
}
12711271

12721272
RExtraTypeInfoDescriptorBuilder extraInfoBuilder;
12731273
extraInfoBuilder.ContentId(EExtraTypeInfoIds::kStreamerInfo)
1274-
.Content(RNTupleSerializer::SerializeStreamerInfos(fStreamerInfos));
1274+
.Content(RNTupleSerializer::SerializeStreamerInfos(fInfosOfStreamerFields));
12751275
fDescriptorBuilder.ReplaceExtraTypeInfo(extraInfoBuilder.MoveDescriptor().Unwrap());
12761276
}
12771277

0 commit comments

Comments
 (0)