commit | 46a1d53381f897b0ed256cafd79ad8f9cca0948f | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Tue Mar 26 12:10:58 2019 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Tue Mar 26 12:10:58 2019 -0700 |
tree | 8d25c94dfec506eb62821a921af5a2c256b113d7 | |
parent | 5e81d4d8f4a845f004de0c3d5510497bf24c9881 [diff] |
binder_test: Avoid extra std::string copies When a function argument is a const std::string reference, it's inefficient to pass a std::string::c_str(). We're not particularly concerned about the performance of this test, but by fixing up this issue, it makes using static analysis to find this issue in our code base less noisy. Test: TreeHugger Change-Id: I69fefcaa480ca6b0106e3362821acd73052668b9