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

am: 18242e5c08

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

View File

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