Skip to content

Commit 9bd98ae

Browse files
authored
[core] allow also TRefProxy exec
to try to fix failing roottests
1 parent 549691f commit 9bd98ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/meta/src/TStreamerElement.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include "TList.h"
3232
#include "TRef.h"
3333
#include "TRefArray.h"
34+
#include "TRefProxy.h"
3435
#include "TInterpreter.h"
3536
#include "TError.h"
3637
#include "TObjArray.h"
@@ -307,7 +308,7 @@ TClass *TStreamerElement::GetClassPointer() const
307308
Int_t TStreamerElement::GetExecID() const
308309
{
309310
TClass* const type = GetClassPointer();
310-
if (!type || !(type->InheritsFrom(TRef::Class()) || type->InheritsFrom(TRefArray::Class()))) return 0;
311+
if (!type || !(type->InheritsFrom(TRef::Class()) || type->InheritsFrom(TRefArray::Class()) || type->InheritsFrom(TRefProxy::Class()))) return 0;
311312

312313
//if the UniqueID of this element has already been set, we assume
313314
//that it contains the exec id of a TRef object.

0 commit comments

Comments
 (0)