mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 12:55:45 +00:00
path_util: copy output for GetParentPath
This commit is contained in:
parent
b020c5ee5e
commit
9254cbb1b0
2 changed files with 4 additions and 4 deletions
|
@ -302,7 +302,7 @@ enum class DirectorySeparator {
|
|||
DirectorySeparator directory_separator = DirectorySeparator::ForwardSlash);
|
||||
|
||||
// Gets all of the text up to the last '/' or '\' in the path.
|
||||
[[nodiscard]] std::string_view GetParentPath(std::string_view path);
|
||||
[[nodiscard]] std::string GetParentPath(std::string_view path);
|
||||
|
||||
// Gets all of the text after the first '/' or '\' in the path.
|
||||
[[nodiscard]] std::string_view GetPathWithoutTop(std::string_view path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue