commit | 603cde990a56fc03731d9b428d3376dd75936c2e | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Feb 17 14:50:44 2017 -0800 |
committer | Yifan Hong <elsk@google.com> | Wed Feb 22 16:36:07 2017 -0800 |
tree | 08b8575e5ea74072ba6d8e07a596e4860ff06333 | |
parent | 8dd657432832bc5117e644c85e8e2b1ec244d2a0 [diff] |
make Return<T> non-copyable. It doesn't make sense to copy a Return<T> object. Deleting the copy constructor help reduce bugs in client code (so that they won't call isOk() on the object and think they have checked the status while they actually haven't done so.) Test: make -j64 Change-Id: Ibef2d4da8820b484076f1d0ca6ac7ff67f39079b