Skip to content
Snippets Groups Projects
Commit 76a07adb authored by Philippe Canal's avatar Philippe Canal
Browse files

Make sure the TTreeCloner properly carry forward the value of the...

Make sure the TTreeCloner properly carry forward the value of the kDoNotUseBufferMap bit in the branch (Addendum to r38801)


git-svn-id: http://root.cern.ch/svn/root/trunk@39755 27541ba8-7e3a-0410-8455-c3a389f83636
parent 46041065
No related branches found
No related tags found
No related merge requests found
......@@ -306,6 +306,10 @@ UInt_t TTreeCloner::CollectBranches(TBranch *from, TBranch *to) {
}
fFromBranches.AddLast(from);
if (!from->TestBit(TBranch::kDoNotUseBufferMap)) {
// Make sure that we reset the Buffer's map if needed.
to->ResetBit(TBranch::kDoNotUseBufferMap);
}
fToBranches.AddLast(to);
numBaskets += from->GetWriteBasket();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment