This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
libphonenumber
mirror of
https://github.com/google/libphonenumber
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
254
Wiki
Activity
Browse Source
Create a new string with data and size because the StringPiece may be modified.
pull/3134/head
Billy Robert O'Neal III
2 years ago
parent
013ce38dc0
commit
85d3205cac
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
cpp/src/phonenumbers/regexp_adapter_re2.cc
+ 1
- 1
cpp/src/phonenumbers/regexp_adapter_re2.cc
View File
@ -39,7 +39,7 @@ class RE2RegExpInput : public RegExpInput {
utf8_input_
(
string_
)
{
}
virtual
string
ToString
(
)
const
{
return
string_
;
return
string
(
utf8
_
input_
.
data
(
)
,
utf8_input_
.
size
(
)
)
;
}
StringPiece
*
Data
(
)
{
Write
Preview
Loading…
Cancel
Save