Merge "Fix clang-tidy performance warnings in frameworks/base."

This commit is contained in:
Treehugger Robot
2018-09-24 18:34:42 +00:00
committed by Gerrit Code Review

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