Merge "Fix clang-tidy performance warnings in frameworks/base."
am: 4a2dd10d83
Change-Id: Ic7266f1c23ab5218f47bf65bb2bde6f79a07a910
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user