fix consistence between reduce/qualify template types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f804cc18ab
commit
15b801dbbb
1 changed files with 3 additions and 3 deletions
|
|
@ -1058,10 +1058,10 @@ Swig_symbol_clookup(String_or_char *name, Symtab *n) {
|
|||
}
|
||||
if (!s) {
|
||||
if (SwigType_istemplate(name)) {
|
||||
SwigType *qt = Swig_symbol_template_reduce(name, hsym);
|
||||
SwigType *rt = Swig_symbol_type_qualify(qt,hsym);
|
||||
SwigType *rt = Swig_symbol_template_reduce(name, hsym);
|
||||
SwigType *qt = Swig_symbol_type_qualify(rt,hsym);
|
||||
if (!Equal(rt,name)) {
|
||||
s = Swig_symbol_clookup(rt, hsym);
|
||||
s = Swig_symbol_clookup(qt, hsym);
|
||||
}
|
||||
Delete(qt);
|
||||
Delete(rt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue