Fix wrong string mangling for auto param names
This commit is contained in:
parent
ae15eca0ef
commit
f808309058
|
@ -9780,7 +9780,7 @@ Declaration* Parser::FunctionAutoParamsToTemplate(Declaration* fdec)
|
|||
|
||||
if (ptdec)
|
||||
{
|
||||
ptdec->mIdent = Ident::Unique("T" + ntp++);
|
||||
ptdec->mIdent = Ident::Unique("T", ntp++);
|
||||
tdec->mScope->Insert(ptdec->mIdent, ptdec);
|
||||
ptdec->mFlags |= DTF_DEFINED;
|
||||
|
||||
|
|
Loading…
Reference in New Issue