Skip to content

Commit 0cd5d03

Browse files
committed
[ntuple] fix up RNTupleDescriptorBuilder::SetNTuple() signature
1 parent 45eb0cc commit 0cd5d03

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

tree/ntuple/inc/ROOT/RNTupleDescriptor.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ public:
17631763
std::uint16_t versionPatch);
17641764
void SetVersionForWriting();
17651765

1766-
void SetNTuple(const std::string_view name, const std::string_view description);
1766+
void SetNTuple(std::string_view name, std::string_view description);
17671767
/// Sets the `flag`-th bit of the feature flag to 1.
17681768
/// Note that `flag` itself is not a bitmask, just the bit index of the flag to enable.
17691769
void SetFeature(unsigned int flag);

tree/ntuple/src/RNTupleDescriptor.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,8 +1093,7 @@ void ROOT::Internal::RNTupleDescriptorBuilder::SetVersionForWriting()
10931093
fDescriptor.fVersionPatch = RNTuple::kVersionPatch;
10941094
}
10951095

1096-
void ROOT::Internal::RNTupleDescriptorBuilder::SetNTuple(const std::string_view name,
1097-
const std::string_view description)
1096+
void ROOT::Internal::RNTupleDescriptorBuilder::SetNTuple(std::string_view name, std::string_view description)
10981097
{
10991098
fDescriptor.fName = std::string(name);
11001099
fDescriptor.fDescription = std::string(description);

0 commit comments

Comments
 (0)