commit | bea77a07834f30c3652e2a708856796082245c4b | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Thu Jul 09 17:45:39 2015 -0700 |
committer | John Reck <jreck@google.com> | Thu Jul 09 17:47:50 2015 -0700 |
tree | c4fbb31d45cfc37bd9d6cd504ab69126cc34348e | |
parent | 171fe6ac0aa5b0d2dd64ac1cdda25cdcb5f183f3 [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