filesystem: use std for CreateFolder

Remove custom platform implementation of `CreateFolder` and replace uses
with `std::filesystem::create_directories` which creates paths
recursively.
This commit is contained in:
Sandy Carter
2020-04-09 10:17:13 -04:00
committed by Rick Gibbed
parent c8e64da4eb
commit 69bcf59c79
13 changed files with 11 additions and 28 deletions

View File

@@ -29,7 +29,7 @@ bool HostPathDevice::Initialize() {
if (!std::filesystem::exists(host_path_)) {
if (!read_only_) {
// Create the path.
xe::filesystem::CreateFolder(host_path_);
std::filesystem::create_directories(host_path_);
} else {
XELOGE("Host path does not exist");
return false;