Skip to content

Commit 138d071

Browse files
committed
change to pathToString
1 parent 95eed22 commit 138d071

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

loader/include/Geode/utils/string.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ namespace geode::utils::string {
5151
/// Convert path to UTF-8 string
5252
/// @param path filesystem path
5353
/// @return UTF-8 encoded std::string
54-
GEODE_DLL std::string pathToUtf8(std::filesystem::path const& path);
54+
GEODE_DLL std::string pathToString(std::filesystem::path const& path);
5555

5656
GEODE_DLL std::string& toLowerIP(std::string& str);
5757

loader/src/utils/string.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Result<std::u32string> utils::string::utf8ToUtf32(std::string_view str) {
6363
return Ok(std::move(result));
6464
}
6565

66-
std::string utils::string::pathToUtf8(std::filesystem::path const& path) {
66+
std::string utils::string::pathToString(std::filesystem::path const& path) {
6767
#ifdef GEODE_IS_WINDOWS
6868
return utils::string::wideToUtf8(path.wstring());
6969
#else

0 commit comments

Comments
 (0)