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

optimizing_compiler: Avoid extra std::string copy

The function OptimizationPassByName() takes a const std::string
reference, so it's inefficient to pass it the result of
std::string::c_str().

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