commit | 3b12e5e65bd82c39a600def425cd21783a361561 | [log] [tgz] |
---|---|---|
author | Nick Bray <ncbray@google.com> | Fri Jan 18 14:44:19 2019 -0800 |
committer | Nick Bray <ncbray@google.com> | Thu Feb 07 11:08:44 2019 -0800 |
tree | 1a7619f430102f611288e07dd2a70985579b1552 | |
parent | 23e024aec04a642c1dbf7f022467c8d687f11f86 [diff] |
Fix issue where hiding copy constructor deletes move constructor. Hiding the copy constructor for Serializable meant the default move constructor was implicitly deleted. A strict reading of the spec would mean that subclasses should not be able to default their move constructors. This issue was revealed by -Wdefaulted-function-deleted. Bug: 123093254 Change-Id: I3cb4917dd37ae9f72d673993c9249e29c36f40e6