Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Do not (inadvertently) stip the @@ suffix for emulated class template…
… instances
  • Loading branch information
pcanal committed Sep 30, 2020
commit fe77942406a4677797c73944e734dcd08b5d3ea2
6 changes: 5 additions & 1 deletion core/meta/src/TClass.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,11 @@ void TClass::Init(const char *name, Version_t cversion,
return;
}
// Always strip the default STL template arguments (from any template argument or the class name)
fName = TClassEdit::ShortType(name, TClassEdit::kDropStlDefault).c_str();
if (TClassEdit::IsArtificial(name))
fName = name; // We can assume that the artificial class name is already normalized.
else
fName = TClassEdit::ShortType(name, TClassEdit::kDropStlDefault).c_str();

fClassVersion = cversion;
fDeclFileName = dfil ? dfil : "";
fImplFileName = ifil ? ifil : "";
Expand Down