Commit 3dff14f
committed
[RF] Don't override
The `TH1` base class already implements the `Clone()` method in such a
way that no TH1-derived class needs to re-implement it, also cloning the
fit functions correctly.
However, there is one TH1-derived class that again overrides `Clone()`
with a fallback to `TNamed` methods, which doesn't work for the TH1
family and can lead to crashes.TObject::Clone() in TH2Poly1 parent 22ab6ae commit 3dff14f
2 files changed
+0
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | 550 | | |
564 | 551 | | |
565 | 552 | | |
| |||
0 commit comments