Merge "Fix clang-tidy performance warnings."

am: 240faf5ef0

Change-Id: I161e035f9ef297635baa8cd97bbc9860e5852b5c
This commit is contained in:
Chih-Hung Hsieh
2016-08-01 21:13:54 +00:00
committed by android-build-merger

View File

@@ -92,7 +92,7 @@ debug_printf(const char* format, ...)
// Escape the filename so that it can be added to the makefile properly.
static string
escape_filename(const string name)
escape_filename(const string& name)
{
ostringstream new_name;
for (string::const_iterator iter = name.begin(); iter != name.end(); ++iter)