commit | 1618866de339dfa489c5c5f82ea4ee6a8771448b | [log] [tgz] |
---|---|---|
author | Mythri Alle <mythria@google.com> | Thu Dec 15 12:47:10 2022 +0000 |
committer | Mythri Alle <mythria@google.com> | Thu Dec 15 12:49:27 2022 +0000 |
tree | 8cb30ccccc6d0b6e4166819dc29efa77c4525089 | |
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