commit | 1133dbbb57ec0c9bd8622f7868d46022f40a4dd3 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Tue Mar 26 11:58:53 2019 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Tue Mar 26 12:00:19 2019 -0700 |
tree | 433739e6796aa6716c4f00088250b0430ad1e55d | |
parent | b3d6252364cc7136eab2a7cb107f5d1db2280553 [diff] |
adb: Avoid extra std::string copies When a function argument takes a std::string, it's inefficient to pass std::string::c_str(), since that creates an additional copy. So we change these calling sites. Test: TreeHugger Change-Id: I1c0fde7275eb3ebd3baf05ec62581b0243655608