vcpkg/ports/libphonenumber/re2-2023-07-01-compat.patch
Weihang Ding a67ca6b1ea
[libphonenumber] Bump to 8.13.17 & fix linux and macOS build (#32899)
* [libphonenumber] Bump to 8.13.17 & fix linux and macOS build

* update version database

* fix windows icui18n lib name

* update version database

* fix patches

* update version database

* fix ci.baseline.txt
2023-08-07 09:07:45 -07:00

14 lines
493 B
Diff

diff --git a/cpp/src/phonenumbers/regexp_adapter_re2.cc b/cpp/src/phonenumbers/regexp_adapter_re2.cc
index 398f369b..3dd5d854 100644
--- a/cpp/src/phonenumbers/regexp_adapter_re2.cc
+++ b/cpp/src/phonenumbers/regexp_adapter_re2.cc
@@ -41,7 +41,7 @@ class RE2RegExpInput : public RegExpInput {
utf8_input_(string_) {}
virtual string ToString() const {
- return utf8_input_.ToString();
+ return string(utf8_input_.data(), utf8_input_.size());
}
StringPiece* Data() {