Merge "Fix clang-tidy performance warnings." am: 240faf5ef0
am: 644526cfa5
Change-Id: Ic940bfb924b29fb8d033bd0f843492704a2607d8
This commit is contained in:
@@ -92,7 +92,7 @@ debug_printf(const char* format, ...)
|
|||||||
|
|
||||||
// Escape the filename so that it can be added to the makefile properly.
|
// Escape the filename so that it can be added to the makefile properly.
|
||||||
static string
|
static string
|
||||||
escape_filename(const string name)
|
escape_filename(const string& name)
|
||||||
{
|
{
|
||||||
ostringstream new_name;
|
ostringstream new_name;
|
||||||
for (string::const_iterator iter = name.begin(); iter != name.end(); ++iter)
|
for (string::const_iterator iter = name.begin(); iter != name.end(); ++iter)
|
||||||
|
Reference in New Issue
Block a user