diff options
author | 2022-12-15 12:47:10 +0000 | |
---|---|---|
committer | 2022-12-15 12:49:27 +0000 | |
commit | 1618866de339dfa489c5c5f82ea4ee6a8771448b (patch) | |
tree | 8cb30ccccc6d0b6e4166819dc29efa77c4525089 /compiler/optimizing/optimizing_compiler_stats.h | |
parent | 7f4b34595d1427dc2897d0bca74da0ad7345687d (diff) |
Pass a string as const reference to avoid a copy
WriteToBuf copies a string into a buffer so it is just sufficient to
send it by reference to avoid copy
Bug: 259258187
Test: art/test.py
Change-Id: I96dc4eb0019d90971169214a643a234202b4e1cb
Diffstat (limited to 'compiler/optimizing/optimizing_compiler_stats.h')
0 files changed, 0 insertions, 0 deletions