filesystem: use std for PathExists
Remove custom platform implementation of `PathExists` and replace uses with `std::filesystem::exists`.
This commit is contained in:
committed by
Rick Gibbed
parent
a9fa38c88b
commit
c8e64da4eb
@@ -17,7 +17,7 @@ namespace filesystem {
|
||||
bool CreateParentFolder(const std::filesystem::path& path) {
|
||||
if (path.has_parent_path()) {
|
||||
auto parent_path = path.parent_path();
|
||||
if (!PathExists(parent_path)) {
|
||||
if (!std::filesystem::exists(parent_path)) {
|
||||
return CreateFolder(parent_path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user