commit | f276f957e5293998c1fbf14114434787392a1d12 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Tue Mar 26 08:15:44 2019 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Tue Mar 26 17:35:30 2019 +0000 |
tree | a45c410e4fd57c0e13a8a9fb46d28f6865e2c826 | |
parent | e7e195db8eb04a58c4c467bbe357841fdf621347 [diff] |
dex2oat: Avoid extra std::string copy The function Fatal() takes a const std::string reference, so it's inefficient to pass it std::string::c_str(). While it's not useful optimize a fatal code path, we still fix this so static analysis tools finding this issue in other parts of the code are less noisy. Test: TreeHugger Change-Id: I42231b40c1af2f866c451e169f2d8362154853b0