Skip to content

Commit 93f8b6b

Browse files
committed
Swift: add missing trap_affix
1 parent 20317a2 commit 93f8b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/codegen/templates/cpp_classes.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct {{name}}{{#final}} : Binding<{{name}}Tag>{{#bases}}, {{ref.name}}{{/bases
2525
{{/final}}
2626

2727
protected:
28-
void emit({{^final}}TrapLabel<{{name}}Tag> id, {{/final}}std::ostream& out) const {
28+
void emit({{^final}}{{trap_affix}}Label<{{name}}Tag> id, {{/final}}std::ostream& out) const {
2929
{{#trap_name}}
3030
out << {{.}}{{trap_affix}}{id{{#single_fields}}, {{name}}{{/single_fields}}} << '\n';
3131
{{/trap_name}}

0 commit comments

Comments
 (0)