| Index: mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| index 1c4d9f71b890f167c95918582b6b721568c41a6a..98ae23c65e60cbc4b66d0d021a35bbee94abb3ca 100644
|
| --- a/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
| @@ -62,11 +62,11 @@ class {{struct.name}} {
|
| }
|
|
|
| template <typename UserType>
|
| - static bool Deserialize({{serialization_result_type}} input,
|
| + static bool Deserialize(const {{serialization_result_type}}& input,
|
| UserType* output) {
|
| return mojo::internal::StructDeserializeImpl<
|
| {{struct.name}}Ptr, {{serialization_result_type}}>(
|
| - std::move(input), output);
|
| + input, output);
|
| }
|
|
|
| {#--- Struct members #}
|
|
|