Fixed constructor name in proxy
parent
09e3c7df9f
commit
a4fe404d82
|
@ -40,7 +40,7 @@ struct Constructor: public ArgumentOverloads {
|
|||
Constructor expandTemplate(const TemplateSubstitution& ts) const {
|
||||
Constructor inst = *this;
|
||||
inst.argLists_ = expandArgumentListsTemplate(ts);
|
||||
inst.name = inst.name;
|
||||
inst.name = ts.expandedClassName();
|
||||
return inst;
|
||||
}
|
||||
|
||||
|
|
|
@ -39,6 +39,10 @@ public:
|
|||
templateArg_(a), qualifiedType_(t), expandedClass_(e) {
|
||||
}
|
||||
|
||||
std::string expandedClassName() const {
|
||||
return expandedClass_.name;
|
||||
}
|
||||
|
||||
// Substitute if needed
|
||||
Qualified operator()(const Qualified& type) const {
|
||||
if (type.name == templateArg_ && type.namespaces.empty())
|
||||
|
|
Loading…
Reference in New Issue