diff options
author | Greg Kaiser <gkaiser@google.com> | 2021-04-26 06:31:28 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2021-04-28 13:00:29 +0000 |
commit | d4edf4fc8a25a1fb21a9b8e4e73303458652dbce (patch) | |
tree | 34fbac3de4f15a2afcad9f428cca93e2f3bea770 /compiler/optimizing/graph_visualizer.cc | |
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
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions