commit | 724f0092a33e0aafb1fa5c9a37d3bbf844026c4c | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Wed Feb 12 07:11:09 2020 -0800 |
committer | Greg Kaiser <gkaiser@google.com> | Wed Feb 12 07:11:09 2020 -0800 |
tree | 9c8ad7b0ef93fac3928de6dfd75e48e547398633 | |
parent | d0d7640403698ddcc0c6d4479febc6fc7386bf62 [diff] |
Avoid extra string copy We directly pass a reference to our std::string, instead of forcing the creation of a temporary std::string from the result of c_str(). Test: TreeHugger Change-Id: Ibab13f1e1ff43af076df60ae4032bf9dd111dd27