commit | f5e75087c69aad4682e87929dae69bfc717dc631 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Wed Mar 11 07:07:55 2020 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Wed Mar 11 07:07:55 2020 -0700 |
tree | bdbec1dc2890e230697c932b6ac5475b7f394162 | |
parent | eaa79508ee3d8506bf15eaae3bf20cab2b32e547 [diff] |
adb: Avoid a couple std::string constructions With some internal API changing from "const char*" to "const std::string&", we can change a couple calling sites to directly pass a std::string reference, instead of getting the c_str() version of the string. This avoids us creating a temporary std::string for the call. Test: TreeHugger Change-Id: I2fe0760ce8bf7d352010a341005356c0a801d351