commit | aa8bdb19ca8bc60985237b3820d2167055e5515f | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Mon Aug 12 18:10:54 2024 +0800 |
committer | Yi Kong <yikong@google.com> | Mon Aug 12 18:11:26 2024 +0800 |
tree | 6d072d01b8fdd1454f866d3418dbcab40e0f8f43 | |
parent | 8c64e2561dd7b721b4acffaefee07f59b0eea9e1 [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: Iff8d4b0db7a3839d8a33abcc93f4ee227e9f9806