Merge "Fix clang-tidy performance warnings in frameworks/base." am: 4a2dd10d83 am: 18242e5c08

am: ad8cf079f5

Change-Id: Ifc615a1e50872a24e59d2d10122c6f90589099f5
This commit is contained in:
Chih-Hung Hsieh
2018-09-24 12:12:24 -07:00
committed by android-build-merger

View File

@@ -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());