commit | d4edf4fc8a25a1fb21a9b8e4e73303458652dbce | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Mon Apr 26 06:31:28 2021 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Wed Apr 28 13:00:29 2021 +0000 |
tree | 34fbac3de4f15a2afcad9f428cca93e2f3bea770 | |
parent | 61c624239ced1203d1c77cbeb5a57f9ad2c5c73d [diff] |
odrefresh: Avoid a couple string copies With the new utility versions of these functions changing their arguments from "const char *" to "const std::string&", we want to avoid using c_str(), so we don't end up making an extra copy of the string. Bug: 160683548 Test: TreeHugger (cherry picked from commit 648fefa36c37ec40060b975b893ccc57b7f6ef89) Merged-In: If547052e8292bb4d9b26ceaa27b4e5e5ca627ea3 Change-Id: Id38387b40b0f7a4f29402fc05e5affab835c7d69