mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Remove fs::file::set_delete
Since it's Windows-only functionality with limited use.
This commit is contained in:
parent
d6087978b5
commit
742bd633d8
4 changed files with 13 additions and 17 deletions
|
@ -1328,15 +1328,6 @@ fs::native_handle fs::file::get_handle() const
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
bool fs::file::set_delete(bool autodelete) const
|
||||
{
|
||||
FILE_DISPOSITION_INFO disp;
|
||||
disp.DeleteFileW = autodelete;
|
||||
return SetFileInformationByHandle(get_handle(), FileDispositionInfo, &disp, sizeof(disp)) != 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void fs::dir::xnull() const
|
||||
{
|
||||
fmt::throw_exception<std::logic_error>("fs::dir is null");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue