fixed wrong casting originating from a copy/paste error.

This commit is contained in:
suter_a 2021-02-18 11:55:34 +01:00
parent fb18c4a7cc
commit aa6f2493d0

View File

@ -8,7 +8,7 @@
***************************************************************************/
/***************************************************************************
* Copyright (C) 2007-2020 by Andreas Suter *
* Copyright (C) 2007-2021 by Andreas Suter *
* andreas.suter@psi.ch *
* *
* This program is free software; you can redistribute it and/or modify *
@ -429,7 +429,7 @@ void PMusrRoot2Xml::CheckClass(TObject *obj, TString str, UInt_t offset)
offset += 2;
str = offsetStr + "<" + entryTag + ">";
fXmlData.push_back(str.Data());
DumpEntry(dynamic_cast<TObjArray*>(obj), offset);
DumpEntry(dynamic_cast<TObject*>(obj), offset);
str = offsetStr + "</" + entryTag + ">";
fXmlData.push_back(str.Data());
}