diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-22 12:34:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-22 12:34:47 -0500 |
| commit | d12d9dad4096af6280c6c418cf36a2faacede102 (patch) | |
| tree | ba52bf26efd8b2f7bf282b0564a68870022cccb7 /src/core/file_sys/fs_path_utility.h | |
| parent | 2b3f1d3fc53c1b7a729c3f1cebbddebcd9427952 (diff) | |
| parent | ef5027712413705802d10c797b0f0b66375a9f58 (diff) | |
Merge pull request #12982 from FearlessTobi/fs-rewrite-part0
fs: Add FileSystemAccessor and use cmif serialization
Diffstat (limited to 'src/core/file_sys/fs_path_utility.h')
| -rw-r--r-- | src/core/file_sys/fs_path_utility.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/file_sys/fs_path_utility.h b/src/core/file_sys/fs_path_utility.h index 5643141f9..cdfd8c772 100644 --- a/src/core/file_sys/fs_path_utility.h +++ b/src/core/file_sys/fs_path_utility.h @@ -426,9 +426,10 @@ public: R_SUCCEED(); } - static Result Normalize(char* dst, size_t* out_len, const char* path, size_t max_out_size, - bool is_windows_path, bool is_drive_relative_path, - bool allow_all_characters = false) { + static constexpr Result Normalize(char* dst, size_t* out_len, const char* path, + size_t max_out_size, bool is_windows_path, + bool is_drive_relative_path, + bool allow_all_characters = false) { // Use StringTraits names for remainder of scope using namespace StringTraits; |
