mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-09 22:38:06 -05:00
Utils: Fix GetDirectory not returning correct result
This commit is contained in:
@ -27,9 +27,9 @@ namespace utils
|
||||
|
||||
std::string Path::GetDirectory(const std::string& pathInput)
|
||||
{
|
||||
const std::filesystem::path path(pathInput);
|
||||
std::filesystem::path path(pathInput);
|
||||
|
||||
return path.relative_path().string();
|
||||
return path.remove_filename().string();
|
||||
}
|
||||
|
||||
std::string Path::Combine(const std::string& p1, const std::string& p2)
|
||||
|
Reference in New Issue
Block a user