Skip to content
Snippets Groups Projects
Commit 2bdbaba0 authored by Rene Brun's avatar Rene Brun
Browse files

Fix from Philippe .

On Windows, the order in which the dictionary global
objects and the TROOT global object are the inverse as that of Linux (this we
have not control over it).

Also, The previous implementation of BuildRealData had a call to
'InheritsFrom(TObject::Class());' which besides giving its result had the
side effect of loading the currently defined typedefs if the class had not
been loaded yet.  Without this side effect, the typedef used in the class
were not present in the ROOT system ...


git-svn-id: http://root.cern.ch/svn/root/trunk@3804 27541ba8-7e3a-0410-8455-c3a389f83636
parent 78a51f4e
No related branches found
No related tags found
No related merge requests found
// @(#)root/meta:$Name: $:$Id: TClass.cxx,v 1.66 2002/01/24 11:39:30 rdm Exp $
// @(#)root/meta:$Name: $:$Id: TClass.cxx,v 1.67 2002/01/25 16:34:45 brun Exp $
// Author: Rene Brun 07/01/95
/*************************************************************************
......@@ -463,6 +463,12 @@ void TClass::BuildRealData(void *pointer)
char parent[256];
parent[0] = 0;
TBuildRealData brd(realDataObject, this);
//Force a call to InheritsFrom. This function indirectly calls gROOT->GetClass
//It forces the loading of new typedefs in case some of them were not
//yet loaded.
InheritsFrom(TObject::Class());
//Always call ShowMembers via the interpreter. A direct call like
// realDataObject->ShowMembers(brd, parent);
//will not work if the class derives from TObject but not as primary
......
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