From e6b98f22f9e05fa51d188d091e54b3be3a17c463 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Tue, 25 Apr 2023 16:09:06 +0200 Subject: [PATCH] Change MakeField to the new signature --- src/ROOTNTupleWriter.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ROOTNTupleWriter.cc b/src/ROOTNTupleWriter.cc index 2bb573c9c..362fb3d82 100644 --- a/src/ROOTNTupleWriter.cc +++ b/src/ROOTNTupleWriter.cc @@ -180,13 +180,13 @@ void ROOTNTupleWriter::finish() { } for (auto& category : m_categories) { - auto idField = m_metadata->MakeField>(root_utils::idTableName(category)); + auto idField = m_metadata->MakeField>({root_utils::idTableName(category)}); *idField = m_collectionInfo[category].id; - auto collectionNameField = m_metadata->MakeField>(root_utils::collectionName(category)); + auto collectionNameField = m_metadata->MakeField>({root_utils::collectionName(category)}); *collectionNameField = m_collectionInfo[category].name; - auto collectionTypeField = m_metadata->MakeField>(root_utils::collInfoName(category)); + auto collectionTypeField = m_metadata->MakeField>({root_utils::collInfoName(category)}); *collectionTypeField = m_collectionInfo[category].type; - auto subsetCollectionField = m_metadata->MakeField>(root_utils::subsetCollection(category)); + auto subsetCollectionField = m_metadata->MakeField>({root_utils::subsetCollection(category)}); *subsetCollectionField = m_collectionInfo[category].isSubsetCollection; }