diff options
author | Greg Kaiser <gkaiser@google.com> | 2020-03-11 07:07:55 -0700 |
---|---|---|
committer | Greg Kaiser <gkaiser@google.com> | 2020-03-11 07:07:55 -0700 |
commit | edfec96679a4a777dbfbb866fce29c02f8bce23d (patch) | |
tree | f8fc55406e05e84115e50db76b35137a1620c10d /trusty/coverage/coverage.cpp | |
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
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions