diff options
Diffstat (limited to 'src/common/fs/fs_util.cpp')
| -rw-r--r-- | src/common/fs/fs_util.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/fs/fs_util.cpp b/src/common/fs/fs_util.cpp index 9db746c4b..357cf5855 100644 --- a/src/common/fs/fs_util.cpp +++ b/src/common/fs/fs_util.cpp | |||
| @@ -20,4 +20,8 @@ std::string ToUTF8String(std::u8string_view u8_string) { | |||
| 20 | return std::string{u8_string.begin(), u8_string.end()}; | 20 | return std::string{u8_string.begin(), u8_string.end()}; |
| 21 | } | 21 | } |
| 22 | 22 | ||
| 23 | std::string PathToUTF8String(const std::filesystem::path& path) { | ||
| 24 | return ToUTF8String(path.u8string()); | ||
| 25 | } | ||
| 26 | |||
| 23 | } // namespace Common::FS | 27 | } // namespace Common::FS |