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