fix
This commit is contained in:
12
support/3rd_party/include/utils/path.hpp
vendored
12
support/3rd_party/include/utils/path.hpp
vendored
@@ -141,9 +141,9 @@ get_not_directory_seperator<wchar_t>() -> std::basic_string_view<wchar_t> {
|
||||
return not_directory_seperator_w;
|
||||
}
|
||||
|
||||
[[nodiscard]] inline auto absolute(std::string_view path) -> std::string;
|
||||
[[nodiscard]] auto absolute(std::string_view path) -> std::string;
|
||||
|
||||
[[nodiscard]] inline auto absolute(std::wstring_view path) -> std::wstring;
|
||||
[[nodiscard]] auto absolute(std::wstring_view path) -> std::wstring;
|
||||
|
||||
[[nodiscard]] inline auto
|
||||
combine(std::string path,
|
||||
@@ -226,14 +226,6 @@ get_parent_api_path(std::wstring_view path) -> std::wstring;
|
||||
|
||||
[[nodiscard]] auto unmake_file_uri(std::wstring_view uri) -> std::wstring;
|
||||
|
||||
inline auto absolute(std::string_view path) -> std::string {
|
||||
return std::filesystem::absolute(finalize(path)).lexically_normal().string();
|
||||
}
|
||||
|
||||
inline auto absolute(std::wstring_view path) -> std::wstring {
|
||||
return std::filesystem::absolute(finalize(path)).lexically_normal().wstring();
|
||||
}
|
||||
|
||||
template <typename string_t>
|
||||
[[nodiscard]] inline auto combine_t(
|
||||
string_t path,
|
||||
|
Reference in New Issue
Block a user