summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-07-09 17:45:39 -0700
committerJohn Reck <jreck@google.com>2015-07-09 17:47:50 -0700
commitbea77a07834f30c3652e2a708856796082245c4b (patch)
treec4fbb31d45cfc37bd9d6cd504ab69126cc34348e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent171fe6ac0aa5b0d2dd64ac1cdda25cdcb5f183f3 (diff)
Deep-copying sucks when all you want is a borrow
Bug: 22378829 std::string only knows how to move & deep-copy, and we really don't want either here since the Paint object for certain outlives the stack scope so use a const reference instead. Change-Id: I1c822c6ba9647953899cfe89dcc670d7265e3973
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions