summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDavid Chen <dwchen@google.com>2017-11-01 16:57:43 -0700
committerDavid Chen <dwchen@google.com>2017-11-01 17:02:33 -0700
commita3bf0509e01c6b32a13cfd16060e4a537706f231 (patch)
tree2a1b8780d41e1178d368aeffd49554bcc771ad13 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1b7c2e9f575fca61fb8854df5dbe3f6bd9e4aa59 (diff)
Fixes LogEvent constructor to use reference.
Previously when fixing LogEvent missing strings because of pointer lifetime issues, I had the constructor for LogEvent pass log_msg by value. This fixes log_msg to pass by reference again so that we avoid wasting memory. Test: Checked statsd unit-tests still pass. Change-Id: I94ac4d1bed19fec19d44e27fe94e07ab30383363
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions