| Index: mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_definition.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_definition.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_definition.tmpl
|
| index 1702533907074421631ed1edb2e3e32be99eae81..95311dc124c5f414f55904bff5d952dd4188cade 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_definition.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_definition.tmpl
|
| @@ -3,7 +3,7 @@
|
| {%- set name = pf.field.name %}
|
|
|
| {%- if kind|is_union_kind %}
|
| -void {{struct.name}}DataView::Get{{name|under_to_camel}}DataView(
|
| +inline void {{struct.name}}DataView::Get{{name|under_to_camel}}DataView(
|
| {{kind|cpp_data_view_type}}* output) {
|
| {%- if pf.min_version != 0 %}
|
| auto pointer = data_->header_.version >= {{pf.min_version}}
|
| @@ -15,7 +15,7 @@ void {{struct.name}}DataView::Get{{name|under_to_camel}}DataView(
|
| }
|
|
|
| {%- elif kind|is_object_kind %}
|
| -void {{struct.name}}DataView::Get{{name|under_to_camel}}DataView(
|
| +inline void {{struct.name}}DataView::Get{{name|under_to_camel}}DataView(
|
| {{kind|cpp_data_view_type}}* output) {
|
| {%- if pf.min_version != 0 %}
|
| auto pointer = data_->header_.version >= {{pf.min_version}}
|
|
|