mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Add string_view support to more UTF functions
This commit is contained in:
1 parent
9c9fe8bf8f
commit
0fc3e2b777
6 files changed
+43
-43
No files matched your search
@@ -284,6 +284,7 @@ std::string_view StripQuotes(std::string_view s) {
|
||||
return s;
|
||||
}
|
||||
|
||||
// NOTE: str must live at least as long as all uses of output.
|
||||
void SplitString(std::string_view str, const char delim, std::vector<std::string_view> &output) {
|
||||
size_t next = 0;
|
||||
for (size_t pos = 0, len = str.length(); pos < len; ++pos) {
|
||||
|
||||
Reference in new issue
Block a user