commit | c43bd9dd3a05f121da0c99937382ce6bab8e0b9e | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Feb 17 14:11:48 2017 -0800 |
committer | Yifan Hong <elsk@google.com> | Fri Feb 17 14:15:01 2017 -0800 |
tree | 62f0769cc12f28372b9a79447911a4e3fcdac24a | |
parent | a21d84f11f066315bd1476368d511286d129cb8a [diff] |
Add move constructor and move operator= to Return<T>. * Destination object must have isOk() called before moving * Source object will be safe to destroy (no isOk() is needed) after moving. Test: lshal without root no longer fails. Change-Id: I24648bede7952ec54f9341cdd2ab5d0a0288452a