forked from eden-emu/eden
common: fs: Remove [[nodiscard]] attribute on Remove* functions
There are a lot of scenarios where we don't particularly care whether or not the removal operation and just simply attempt a removal. As such, removing the [[nodiscard]] attribute is best for these functions.
This commit is contained in:
parent
faf57c183f
commit
81b1b71993
6 changed files with 26 additions and 26 deletions
|
@ -159,7 +159,7 @@ FileBackend::FileBackend(const std::filesystem::path& filename) {
|
|||
|
||||
// Existence checks are done within the functions themselves.
|
||||
// We don't particularly care if these succeed or not.
|
||||
void(FS::RemoveFile(old_filename));
|
||||
FS::RemoveFile(old_filename);
|
||||
void(FS::RenameFile(filename, old_filename));
|
||||
|
||||
file =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue