summaryrefslogtreecommitdiff
path: root/tools/aapt/AaptUtil.cpp
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-08-18 21:54:33 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-08-18 21:54:33 +0000
commite1ee1aab9f99d05ca97dee3701afb894a6129446 (patch)
tree6c3998b030418d97643643d99748d6d325ecab3f /tools/aapt/AaptUtil.cpp
parent3b35e9d4c877106858de12f30e5cff7bb3e8cbbe (diff)
parentd2a698351d13901b95f836df09e9463344f6ab0e (diff)
Merge "Use String8/16 c_str [tools]" into main
Diffstat (limited to 'tools/aapt/AaptUtil.cpp')
-rw-r--r--tools/aapt/AaptUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt/AaptUtil.cpp b/tools/aapt/AaptUtil.cpp
index 293e144b71fe..e82860de578a 100644
--- a/tools/aapt/AaptUtil.cpp
+++ b/tools/aapt/AaptUtil.cpp
@@ -23,7 +23,7 @@ namespace AaptUtil {
Vector<String8> split(const String8& str, const char sep) {
Vector<String8> parts;
- const char* p = str.string();
+ const char* p = str.c_str();
const char* q;
while (true) {
@@ -41,7 +41,7 @@ Vector<String8> split(const String8& str, const char sep) {
Vector<String8> splitAndLowerCase(const String8& str, const char sep) {
Vector<String8> parts;
- const char* p = str.string();
+ const char* p = str.c_str();
const char* q;
while (true) {