Change parameter of DeleteDir and friends to Path

This commit is contained in:
Henrik Rydgård committed 2021-05-13 10:39:16 +02:00
1 parent b7fe72bfc9
commit 0d80362c30
7 files changed
+54 -45

No files matched your search

+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;
}