From: Axel Naumann Date: Mon, 29 Sep 2014 15:39:32 +0000 (+0200) Subject: From Danilo and me: normalize again after resolving a typedef (fixes CMS). X-Git-Tag: v6-02-00~7 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=6ff8749fd117712bd7291c3bd5c686c1b37827ec From Danilo and me: normalize again after resolving a typedef (fixes CMS). --- diff --git a/core/metautils/src/TClassEdit.cxx b/core/metautils/src/TClassEdit.cxx index c8939ea..cd74f38 100644 --- a/core/metautils/src/TClassEdit.cxx +++ b/core/metautils/src/TClassEdit.cxx @@ -692,7 +692,11 @@ void TClassEdit::GetNormalizedName(std::string &norm_name, const char *name) if (gInterpreterHelper->ExistingTypeCheck(norm_name, typeresult) || gInterpreterHelper->GetPartiallyDesugaredNameWithScopeHandling(norm_name, typeresult)) { - if (!typeresult.empty()) norm_name = typeresult; + if (!typeresult.empty()) { + norm_name = typeresult; + TClassEdit::TSplitType splitnameInternal(norm_name.c_str(),(TClassEdit::EModType)(TClassEdit::kDropStlDefault | TClassEdit::kKeepOuterConst)); + splitnameInternal.ShortType(norm_name,TClassEdit::kDropStlDefault ); + } } } }