commit | 8a0e35288015d18061d3acea6ea66f1d3b44f438 | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Mon Aug 14 18:03:09 2023 +0000 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Wed Aug 30 04:59:31 2023 +0000 |
tree | e8a750582e4541e2b2871225d5a19fdcf8bf3ab5 | |
parent | 5212dc5c30cb73ac817a6169340d3a87de69c3ef [diff] [blame] |
Migrate from android::String isEmpty to empty This empty method is different from the old one - it aligns with std::string definition. Bug: 295394788 Test: make checkbuild Change-Id: Id74502de0e51182aa9629db8dc70739be4483d12 Merged-In: Id74502de0e51182aa9629db8dc70739be4483d12
diff --git a/cmds/atrace/atrace.cpp b/cmds/atrace/atrace.cpp index 8105626..ab7ef16 100644 --- a/cmds/atrace/atrace.cpp +++ b/cmds/atrace/atrace.cpp
@@ -796,7 +796,7 @@ bool ok = true; while (!tokenizer->isEol()) { String8 token = tokenizer->nextToken(" "); - if (token.isEmpty()) { + if (token.empty()) { tokenizer->skipDelimiters(" "); continue; }