commit | 95af4cae9771735ed490aa8ca2a6e42fd34be415 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Mon Aug 12 07:03:29 2024 +0800 |
committer | Yi Kong <yikong@google.com> | Mon Aug 12 17:47:11 2024 +0800 |
tree | d4acd34330df348a594d16b8f5ee1197de1563cb | |
parent | a35b1f13ddef1d27f368c371dcd942c2c3fb37df [diff] |
Remove unnecessary std::move Moving a temporary object prevents copy elision, and could reduce performance. This fixes -Wpessimizing-move compiler warning. Test: presubmit Bug: 154270751 Change-Id: I4c769b174bb2a1fab2928c4887dcb70d82f264fa