Merge "Fix clang-tidy performance warnings in frameworks/base."
This commit is contained in:
@@ -140,7 +140,7 @@ static void splitAndPrint(const string& args) {
|
|||||||
size_t base = 0;
|
size_t base = 0;
|
||||||
size_t found;
|
size_t found;
|
||||||
while (true) {
|
while (true) {
|
||||||
found = args.find_first_of(" ", base);
|
found = args.find_first_of(' ', base);
|
||||||
if (found != base) {
|
if (found != base) {
|
||||||
string arg = args.substr(base, found - base);
|
string arg = args.substr(base, found - base);
|
||||||
printf(" \"%s\",", arg.c_str());
|
printf(" \"%s\",", arg.c_str());
|
||||||
|
|||||||
Reference in New Issue
Block a user