Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
32c05be9
Commit
32c05be9
authored
Nov 26, 2020
by
lrita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make butil::BasicStringPiece<T> support string split functions-family
parent
10152646
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
string_util.cc
src/butil/strings/string_util.cc
+0
-4
string_util.h
src/butil/strings/string_util.h
+0
-1
No files found.
src/butil/strings/string_util.cc
View file @
32c05be9
...
...
@@ -373,10 +373,6 @@ bool IsStringUTF8(const StringPiece& str) {
return
true
;
}
bool
IsStringUTF8
(
const
std
::
string
&
str
)
{
return
IsStringUTF8
(
StringPiece
(
str
));
}
}
// namespace butil
template
<
typename
Iter
>
...
...
src/butil/strings/string_util.h
View file @
32c05be9
...
...
@@ -254,7 +254,6 @@ BUTIL_EXPORT bool ContainsOnlyChars(const StringPiece16& input,
// to have the maximum 'discriminating' power from other encodings. If
// there's a use case for just checking the structural validity, we have to
// add a new function for that.
BUTIL_EXPORT
bool
IsStringUTF8
(
const
std
::
string
&
str
);
BUTIL_EXPORT
bool
IsStringUTF8
(
const
StringPiece
&
str
);
BUTIL_EXPORT
bool
IsStringASCII
(
const
StringPiece
&
str
);
BUTIL_EXPORT
bool
IsStringASCII
(
const
string16
&
str
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment