commit | 820333dce47d8b961927640df056072bc0ff3eb0 | [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 | e05c799c472cdce3f8658b37c161ea7dc8ce1935 [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