Skip to content
Snippets Groups Projects
Commit 985a8e13 authored by Philippe Canal's avatar Philippe Canal
Browse files

Prevent failure in the I/O due to a confusion between a class (for example SiStripDigi) and

a nested class with the same name (for example: PGlobalDigi::SiStripDigi) which resulted
in the former to have its ClassInfo pointing to the later after an (unrelated) reload.


git-svn-id: http://root.cern.ch/svn/root/trunk@37556 27541ba8-7e3a-0410-8455-c3a389f83636
parent 3082eccf
No related branches found
No related tags found
No related merge requests found
......@@ -1969,7 +1969,8 @@ int G__search_tagname(const char* tagname, int type)
if (G__struct.type[i] != 'a'
&& G__struct.type[i] != 0
&& G__UserSpecificUpdateClassInfo) {
(*G__UserSpecificUpdateClassInfo)(G__struct.name[i],i);
G__FastAllocString fullname(G__fulltagname(i,0));
(*G__UserSpecificUpdateClassInfo)(fullname,i);
}
}
else if (G__struct.type[i]==0 || (G__struct.type[i] == 'a')) {
......@@ -1978,7 +1979,8 @@ int G__search_tagname(const char* tagname, int type)
if (G__struct.type[i] != 'a'
&& G__struct.type[i] != 0
&& G__UserSpecificUpdateClassInfo) {
(*G__UserSpecificUpdateClassInfo)(G__struct.name[i],i);
G__FastAllocString fullname(G__fulltagname(i,0));
(*G__UserSpecificUpdateClassInfo)(fullname,i);
}
}
++G__struct.nactives;
......
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