| Index: third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_declaration.tmpl
|
| diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_declaration.tmpl b/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_declaration.tmpl
|
| index 107de09e66b57269d3257043f874f24adefa16d5..2b4a7dded9c1f6212d0e488d28f4251f354981e5 100644
|
| --- a/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_declaration.tmpl
|
| +++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_declaration.tmpl
|
| @@ -29,7 +29,7 @@ class {{union.name}} {
|
|
|
| {% for field in union.fields %}
|
| bool is_{{field.name}}() const;
|
| - {{field.kind|cpp_result_type}} get_{{field.name}}() const;
|
| + {{field.kind|cpp_union_getter_return_type}} get_{{field.name}}() const;
|
| void set_{{field.name}}({{field.kind|cpp_const_wrapper_type}} {{field.name}});
|
| {%- endfor %}
|
|
|
|
|