Fixed template instantiations class field generation

This commit is contained in:
Bartek Kryza
2021-08-29 22:24:47 +02:00
parent ab4da6c87c
commit e60fbab059
2 changed files with 2 additions and 1 deletions

View File

@@ -526,6 +526,7 @@ bool tu_visitor::process_field_with_template_instantiation(
resolve_alias(template_instantiation_type));
class_ tinst = build_template_instantiation(unaliased);
tinst.usr = tinst.full_name(ctx.config.using_namespace);
// Infer the relationship of this field to the template
// instantiation