commit | 900c3216cb16b63ab31776cb8d16428cc65bf9b7 | [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 | 79d9bbf4daa3e9ddd770402ea5149aa168e1f672 | |
parent | 4b454253f184ca2a95c1d6a838e36eb1fd9adb30 [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