Skip to content

Commit ee8a207

Browse files
committed
fixup
1 parent 71f4346 commit ee8a207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tree/ntuple/src/RFieldUtils.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ std::string ROOT::Internal::GetTypeTraceReport(const RFieldBase &field, const RN
731731

732732
auto fnGetLine = [](const std::string &fieldName, const std::string &fieldType, DescriptorId_t fieldId,
733733
int level) -> std::string {
734-
return std::string(2 * level, ' ') + fieldName + " [" + fieldType + "] (" + std::to_string(fieldId) + ")\n";
734+
return std::string(2 * level, ' ') + fieldName + " [" + fieldType + "] (id: " + std::to_string(fieldId) + ")\n";
735735
};
736736

737737
const RFieldBase *fieldPtr = &field;
@@ -753,7 +753,7 @@ std::string ROOT::Internal::GetTypeTraceReport(const RFieldBase &field, const RN
753753
report += fnGetLine((*itr)->GetFieldName(), (*itr)->GetTypeName(), (*itr)->GetOnDiskId(), indentLevel);
754754
}
755755

756-
report = "On-disk field/type hierarchy:\n";
756+
report += "On-disk field/type hierarchy:\n";
757757
indentLevel = 0;
758758
for (auto itr = onDiskStack.rbegin(); itr != onDiskStack.rend(); ++itr, ++indentLevel) {
759759
report += fnGetLine((*itr)->GetFieldName(), (*itr)->GetTypeName(), (*itr)->GetId(), indentLevel);

0 commit comments

Comments
 (0)