mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
More uses of string_view
This commit is contained in:
1 parent
d0ee5fc308
commit
19eeaef2ea
11 files changed
+53
-45
No files matched your search
@@ -8,7 +8,7 @@ bool AndroidContentURI::Parse(std::string_view path) {
|
||||
|
||||
std::string_view components = path.substr(strlen(prefix));
|
||||
|
||||
std::vector<std::string> parts;
|
||||
std::vector<std::string_view> parts;
|
||||
SplitString(components, '/', parts);
|
||||
if (parts.size() == 3) {
|
||||
// Single file URI.
|
||||
|
||||
Reference in new issue
Block a user