diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-17 19:00:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 19:00:41 +0200 |
commit | abee814263c586d96b523b483bafb86d7a63aa58 (patch) | |
tree | 2d29c9b6ebaec415bdce2100e2319fcb651d8bbe /thirdparty/icu4c/common/servls.cpp | |
parent | 7ea8cde9834b0fda4a928217b7880da3dd330214 (diff) | |
parent | 93fba7ead33b45a6f9904ab6a69ada72e8564230 (diff) |
Merge pull request #61124 from bruvzg/icu_hb_ft_update
Update HarfBuzz, ICU and FreeType.
Diffstat (limited to 'thirdparty/icu4c/common/servls.cpp')
-rw-r--r-- | thirdparty/icu4c/common/servls.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/thirdparty/icu4c/common/servls.cpp b/thirdparty/icu4c/common/servls.cpp index 7108afd4a5..98f0a8a12b 100644 --- a/thirdparty/icu4c/common/servls.cpp +++ b/thirdparty/icu4c/common/servls.cpp @@ -179,7 +179,8 @@ private: length = other._ids.size(); for(i = 0; i < length; ++i) { - _ids.addElementX(((UnicodeString *)other._ids.elementAt(i))->clone(), status); + LocalPointer<UnicodeString> clonedId(((UnicodeString *)other._ids.elementAt(i))->clone(), status); + _ids.adoptElement(clonedId.orphan(), status); } if(U_SUCCESS(status)) { |