diff options
| author | 2023-12-17 14:25:42 -0500 | |
|---|---|---|
| committer | 2023-12-17 14:25:42 -0500 | |
| commit | 09e8fb75ce0b16acc3fa21379c4b3e69d43c520b (patch) | |
| tree | d6771c87088db094492daf2ed39829cf5efc5873 /src/common/fs/path_util.h | |
| parent | Merge pull request #12378 from liamwhite/offsetof (diff) | |
| download | yuzu-09e8fb75ce0b16acc3fa21379c4b3e69d43c520b.tar.gz yuzu-09e8fb75ce0b16acc3fa21379c4b3e69d43c520b.tar.xz yuzu-09e8fb75ce0b16acc3fa21379c4b3e69d43c520b.zip | |
path_util: copy output for GetParentPath
Diffstat (limited to '')
| -rw-r--r-- | src/common/fs/path_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h index 23c8b1359..59301e7ed 100644 --- a/src/common/fs/path_util.h +++ b/src/common/fs/path_util.h | |||
| @@ -302,7 +302,7 @@ enum class DirectorySeparator { | |||
| 302 | DirectorySeparator directory_separator = DirectorySeparator::ForwardSlash); | 302 | DirectorySeparator directory_separator = DirectorySeparator::ForwardSlash); |
| 303 | 303 | ||
| 304 | // Gets all of the text up to the last '/' or '\' in the path. | 304 | // Gets all of the text up to the last '/' or '\' in the path. |
| 305 | [[nodiscard]] std::string_view GetParentPath(std::string_view path); | 305 | [[nodiscard]] std::string GetParentPath(std::string_view path); |
| 306 | 306 | ||
| 307 | // Gets all of the text after the first '/' or '\' in the path. | 307 | // Gets all of the text after the first '/' or '\' in the path. |
| 308 | [[nodiscard]] std::string_view GetPathWithoutTop(std::string_view path); | 308 | [[nodiscard]] std::string_view GetPathWithoutTop(std::string_view path); |