Commit 338403c9 authored by Greg Kaiser's avatar Greg Kaiser Committed by Treehugger Robot
Browse files

jni: Avoid extra std::string copies

The methods FindSymbolWith{,out}NativeBridge() take const
std::string references, so it's inefficient to pass in a
std::string::c_str().

Test: TreeHugger
Change-Id: I82e023d22cb2d9639bd4e32d05b0620dc09efd3e
parent f276f957
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment