Skip to content

Commit d867e3f

Browse files
authored
[core] fix include, use base class
1 parent 9bd98ae commit d867e3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/meta/src/TStreamerElement.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "TList.h"
3232
#include "TRef.h"
3333
#include "TRefArray.h"
34-
#include "TRefProxy.h"
34+
#include "TVirtualRefProxy.h"
3535
#include "TInterpreter.h"
3636
#include "TError.h"
3737
#include "TObjArray.h"
@@ -308,7 +308,7 @@ TClass *TStreamerElement::GetClassPointer() const
308308
Int_t TStreamerElement::GetExecID() const
309309
{
310310
TClass* const type = GetClassPointer();
311-
if (!type || !(type->InheritsFrom(TRef::Class()) || type->InheritsFrom(TRefArray::Class()) || type->InheritsFrom(TRefProxy::Class()))) return 0;
311+
if (!type || !(type->InheritsFrom(TRef::Class()) || type->InheritsFrom(TRefArray::Class()) || type->InheritsFrom(TVirtualRefProxy::Class()))) return 0;
312312

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

0 commit comments

Comments
 (0)