Merge "Fix clang-tidy performance warnings in frameworks/base." am: 4a2dd10d83
am: 18242e5c08
Change-Id: Id6149de2848d7c0bb77aa04cc523e29498b8bbd1
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