summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-24 12:12:24 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-09-24 12:12:24 -0700
commitd4cf67e2966fd5c577211f37e10a3f69eaf530cf (patch)
tree66f72f453eb00aa8108cabd37a5a8a053c38f389
parentcc704723bdd4e26d476898bfa3f09b1f3ee0bc0f (diff)
parentad8cf079f55503f5c688249226ae03af28c9a8ab (diff)
downloadframeworks_base-d4cf67e2966fd5c577211f37e10a3f69eaf530cf.tar.gz
frameworks_base-d4cf67e2966fd5c577211f37e10a3f69eaf530cf.tar.bz2
frameworks_base-d4cf67e2966fd5c577211f37e10a3f69eaf530cf.zip
Merge "Fix clang-tidy performance warnings in frameworks/base." am: 4a2dd10d83 am: 18242e5c08
am: ad8cf079f5 Change-Id: Ifc615a1e50872a24e59d2d10122c6f90589099f5
-rw-r--r--tools/incident_section_gen/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/incident_section_gen/main.cpp b/tools/incident_section_gen/main.cpp
index 639f98062b7..0cf1046ef37 100644
--- a/tools/incident_section_gen/main.cpp
+++ b/tools/incident_section_gen/main.cpp
@@ -138,7 +138,7 @@ static void splitAndPrint(const string& args) {
size_t base = 0;
size_t found;
while (true) {
- found = args.find_first_of(" ", base);
+ found = args.find_first_of(' ', base);
if (found != base) {
string arg = args.substr(base, found - base);
printf(" \"%s\",", arg.c_str());