diff options
author | Tom Cherry <tomcherry@google.com> | 2019-07-09 14:54:49 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2019-07-09 17:06:08 -0700 |
commit | 820333dce47d8b961927640df056072bc0ff3eb0 (patch) | |
tree | 392d5bfbdf7cfd2d60513e8ab4ad7630de863868 /libutils/Unicode.cpp | |
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
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions