diff options
| author | Dan Willemsen <dwillemsen@google.com> | 2016-11-01 14:49:08 -0700 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@google.com> | 2016-11-01 14:49:46 -0700 |
| commit | cb2ff8558ced3ddc021823a3c86bc7ce02dcbdc3 (patch) | |
| tree | a1c65ac2a0f2ef41fbb29ea16c27f1ad5ccdc2d4 /strutil.cc | |
| parent | ba9de4bc7eb7327d1177270d0956d6cb7aaf1d9c (diff) | |
Fix some possible performance issues found by clang-tidy
No obvious time differences when building AOSP, but these all seem like
reasonable changes.
Diffstat (limited to 'strutil.cc')
| -rw-r--r-- | strutil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -500,7 +500,7 @@ string ConcatDir(StringPiece b, StringPiece n) { return r; } -string EchoEscape(const string str) { +string EchoEscape(const string &str) { const char *in = str.c_str(); string buf; for (; *in; in++) { |
