summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Greg Kaiser <gkaiser@google.com> 2019-03-26 06:23:19 -0700
committer Greg Kaiser <gkaiser@google.com> 2019-03-26 09:28:16 -0700
commit8042c37f15940479d9d89a97646555a01161a334 (patch)
tree5b153c59044f78b26879b59c4862b23fba310ced /libs/gui/ConsumerBase.cpp
parentc10e80f5eaf6cf72581c2706405b1f286d2050b0 (diff)
dexopt: Avoid a couple std::string copies
There are a couple places where we're taking a std::string and then passing the result of c_str() to function taking a const std::string reference. This inefficiently creates a temporary object. We change these to directly pass the std::string. Test: TreeHugger Change-Id: Ied6f13e5e2b7b71c992d325ce285fd829bdb7ee9
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions