You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Tree] Delete virtual copy and copy assignment methods in TTree
The `TTree` class already deletes the copy constructor and the copy
assignment, but users might still be tempted to use the virtual copy
constructor or copy assignment provided by `TObject::Clone()` and
`TObject::Copy()`. But these implementations also make no sense to the
TTree.
To avoid user confusion, this commit suggests to override these methods
in TTree such that they thow an exception and tell you what to use
instead.
Prevents reports this one in the future:
* https://its.cern.ch/jira/browse/ROOT-9111
0 commit comments