mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Path: Use string_view more to avoid allocations
This commit is contained in:
1 parent
70c7bb3b0d
commit
d0ee5fc308
8 files changed
+39
-36
No files matched your search
@@ -81,7 +81,8 @@ std::string StripQuotes(const std::string &s);
|
||||
std::string_view StripSpaces(std::string_view s);
|
||||
std::string_view StripQuotes(std::string_view s);
|
||||
|
||||
void SplitString(const std::string& str, const char delim, std::vector<std::string>& output);
|
||||
// TODO: Make this a lot more efficient by outputting string_views.
|
||||
void SplitString(std::string_view str, const char delim, std::vector<std::string>& output);
|
||||
|
||||
void GetQuotedStrings(const std::string& str, std::vector<std::string>& output);
|
||||
|
||||
|
||||
Reference in new issue
Block a user