summaryrefslogtreecommitdiff
path: root/Parcel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Parcel.cpp')
-rw-r--r--Parcel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parcel.cpp b/Parcel.cpp
index 77e2161..177b102 100644
--- a/Parcel.cpp
+++ b/Parcel.cpp
@@ -596,7 +596,7 @@ status_t Parcel::writeString16(const std::unique_ptr<String16>& str)
status_t Parcel::writeString16(const String16& str)
{
- return writeString16(str.string(), str.size());
+ return writeString16(str.c_str(), str.size());
}
status_t Parcel::writeString16(const char16_t* str, size_t len)