mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 21:54:10 -04:00
util::string_view, update pgl for new sf semantics
This commit is contained in:
parent
83c04fa5d7
commit
3bb94aa146
13 changed files with 448 additions and 70 deletions
|
@ -22,12 +22,12 @@ namespace ams::ncm::impl {
|
|||
|
||||
class PathView {
|
||||
private:
|
||||
std::string_view path; /* Nintendo uses util::string_view here. */
|
||||
util::string_view path; /* Nintendo uses util::string_view here. */
|
||||
public:
|
||||
PathView(std::string_view p) : path(p) { /* ...*/ }
|
||||
bool HasPrefix(std::string_view prefix) const;
|
||||
bool HasSuffix(std::string_view suffix) const;
|
||||
std::string_view GetFileName() const;
|
||||
PathView(util::string_view p) : path(p) { /* ...*/ }
|
||||
bool HasPrefix(util::string_view prefix) const;
|
||||
bool HasSuffix(util::string_view suffix) const;
|
||||
util::string_view GetFileName() const;
|
||||
};
|
||||
|
||||
struct MountName {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue