summaryrefslogtreecommitdiff
path: root/tools/aapt/SourcePos.cpp
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-08-30 18:20:58 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-08-30 18:20:58 +0000
commit2ce9592378ced7688e6107791de219139d0f231d (patch)
treeecb7f35f40f6a240a30358c692e354edfe816e6a /tools/aapt/SourcePos.cpp
parent5f313ec81557d37b78d6a68c7a7107cc45914c8c (diff)
parent7e22cab784f64c658b8a41fa1fb22cf7bd44c65e (diff)
Merge "Migrate from android::String isEmpty to empty [aapt]" into main
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 {