| Index: mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_declaration.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_declaration.tmpl
|
| index 575a331769a8c2078b2490b93b99b9023505d602..4a4948cdbb60ff35f77b8813f16252fd91c60a94 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_declaration.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_declaration.tmpl
|
| @@ -17,7 +17,7 @@ class {{struct.name}}DataView {
|
| {%- set kind = pf.field.kind %}
|
| {%- set name = pf.field.name %}
|
| {%- if kind|is_union_kind %}
|
| - void Get{{name|under_to_camel}}DataView(
|
| + inline void Get{{name|under_to_camel}}DataView(
|
| {{kind|cpp_data_view_type}}* output);
|
|
|
| bool Read{{name|under_to_camel}}({{kind|cpp_wrapper_type}}* output) {
|
| @@ -32,7 +32,7 @@ class {{struct.name}}DataView {
|
| }
|
|
|
| {%- elif kind|is_object_kind %}
|
| - void Get{{name|under_to_camel}}DataView(
|
| + inline void Get{{name|under_to_camel}}DataView(
|
| {{kind|cpp_data_view_type}}* output);
|
|
|
| template <typename UserType>
|
|
|