Change parameter of DeleteDir and friends to Path

This commit is contained in:
Henrik Rydgård
2021-05-13 10:39:16 +02:00
parent b7fe72bfc9
commit 0d80362c30
7 changed files with 54 additions and 45 deletions
+1 -1
View File
@@ -528,7 +528,7 @@ bool DirectoryFileSystem::RmDir(const std::string &dirname) {
#else
return 0 == rmdir(fullName.c_str());
#endif*/
bool result = File::DeleteDirRecursively(fullName.ToString());
bool result = File::DeleteDirRecursively(fullName);
return ReplayApplyDisk(ReplayAction::RMDIR, result, CoreTiming::GetGlobalTimeUs()) != 0;
}