| commit | 4e8c51686c69a929ee0a319f17c0195496cfc75c | [log] [tgz] |
|---|---|---|
| author | T.J. Mercier <tjmercier@google.com> | Sat Jul 23 18:05:08 2022 +0000 |
| committer | T.J. Mercier <tjmercier@google.com> | Sat Jul 23 18:05:54 2022 +0000 |
| tree | ccdaac5c4ecce04df35d8e4b54ee677c19b3b0ea | |
| parent | facb434dc159805f9ee85cca52c408084ae2279d [diff] |
Add implicit conversion operator to std::string_view android::base::Trim has been updated to take a std::string_view instead of a const std::string&. Remove explicit conversions to std::string for Trim arguments so that we do not create a unnecessary copies for the T -> std::string conversion, only to implicitly convert from std::string -> std::string_view immediately after. Bug: N/A Test: Still builds Change-Id: Ib3db6f652f5a2b84f89cf130e3cf4a7acf9f185b