commit | edfec96679a4a777dbfbb866fce29c02f8bce23d | [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 | f8fc55406e05e84115e50db76b35137a1620c10d | |
parent | f1e27502e4d44291d90b2a397d4991122fcb090b [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