commit | 59bff9e26fb1ed9bb613c9dbc7d6f48ee71548b1 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Tue Jul 09 14:54:49 2019 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Tue Jul 09 17:06:08 2019 -0700 |
tree | 392d5bfbdf7cfd2d60513e8ab4ad7630de863868 | |
parent | d73aa72d50a5ecd39d78c5ca2a9de185e5b7b9fe [diff] |
Add noexcept to missing places in expected.h These move and assignment operations are conditionally noexcept, so add that to their definitions. This is a performance issue as well as correctness, since std containers will copy instead of move during resize if these operations are not noexcept. Test: build Change-Id: I148f7eb3489e7f1dd68cc0fb0e555b56470e42da