summaryrefslogtreecommitdiffstats
path: root/src/common/fs/path_util.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-12-18 01:01:04 +0100
committerGitHub <noreply@github.com>2023-12-18 01:01:04 +0100
commitb8c50276869aa98bc3cf2622a18c08cf1fb66315 (patch)
treed6771c87088db094492daf2ed39829cf5efc5873 /src/common/fs/path_util.h
parentMerge pull request #12378 from liamwhite/offsetof (diff)
parentpath_util: copy output for GetParentPath (diff)
downloadyuzu-b8c50276869aa98bc3cf2622a18c08cf1fb66315.tar
yuzu-b8c50276869aa98bc3cf2622a18c08cf1fb66315.tar.gz
yuzu-b8c50276869aa98bc3cf2622a18c08cf1fb66315.tar.bz2
yuzu-b8c50276869aa98bc3cf2622a18c08cf1fb66315.tar.lz
yuzu-b8c50276869aa98bc3cf2622a18c08cf1fb66315.tar.xz
yuzu-b8c50276869aa98bc3cf2622a18c08cf1fb66315.tar.zst
yuzu-b8c50276869aa98bc3cf2622a18c08cf1fb66315.zip
Diffstat (limited to '')
-rw-r--r--src/common/fs/path_util.h2
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 {
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);