summaryrefslogtreecommitdiff
path: root/tools/aapt/SourcePos.cpp
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-08-31 10:05:54 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-08-31 10:05:54 +0000
commite5ee511172be798f860ea7a61858037f75903d36 (patch)
tree9a50936c2c02aaa2ac05c221d659e85787741305 /tools/aapt/SourcePos.cpp
parent9d0bcc2935d9c8633d5423ab2fb1ff14b2d1f446 (diff)
parent2ce9592378ced7688e6107791de219139d0f231d (diff)
Merge "Migrate from android::String isEmpty to empty [aapt]" into main am: 2ce9592378
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2725659 Change-Id: I138a5369aebbe74737992252c2b1fac6cf4ce16f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'tools/aapt/SourcePos.cpp')
-rw-r--r--tools/aapt/SourcePos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/SourcePos.cpp b/tools/aapt/SourcePos.cpp
index e13028684414..354a65c14772 100644
--- a/tools/aapt/SourcePos.cpp
+++ b/tools/aapt/SourcePos.cpp
@@ -78,7 +78,7 @@ ErrorPos::print(FILE* to) const
break;
}
- if (!this->file.isEmpty()) {
+ if (!this->file.empty()) {
if (this->line >= 0) {
fprintf(to, "%s:%d: %s%s\n", this->file.c_str(), this->line, type, this->error.c_str());
} else {