Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CCDB/src/CcdbApi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,8 @@ void* CcdbApi::extractFromTFile(TFile& file, TClass const* cl, const char* what)
auto result = object;
// We need to handle some specific cases as ROOT ties them deeply
// to the file they are contained in
if (cl->InheritsFrom("TObject")) {
// IsTObject avoids InheritsFrom, which makes cling instantiate STL collection classes
if (cl->IsTObject()) {
// make a clone
// detach from the file
auto tree = dynamic_cast<TTree*>((TObject*)object);
Expand Down
Loading