Skip to content
Snippets Groups Projects
Commit 3115ba94 authored by Danilo Piparo's avatar Danilo Piparo
Browse files

Flip also kMustCleanup bit of histograms cloned by the TThreadedObject

parent 7c533e45
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,7 @@ namespace ROOT {
static T *Clone(const T *obj, TDirectory* d = nullptr) {
auto clone = (T*)obj->Clone();
clone->SetDirectory(nullptr);
clone->ResetBit(kMustCleanup);
return clone;
}
};
......
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