diff options
| author | 2021-06-19 03:43:16 -0400 | |
|---|---|---|
| committer | 2021-06-22 13:36:24 -0400 | |
| commit | 81b1b71993473b31321c8ff2d0dd0b267848a968 (patch) | |
| tree | 3f2ab1041c7d819949fd68faa3dd21759f7ce2a9 /src/common/logging/backend.cpp | |
| parent | Merge pull request #6506 from ReinUsesLisp/master-semaphore-jthread (diff) | |
| download | yuzu-81b1b71993473b31321c8ff2d0dd0b267848a968.tar.gz yuzu-81b1b71993473b31321c8ff2d0dd0b267848a968.tar.xz yuzu-81b1b71993473b31321c8ff2d0dd0b267848a968.zip | |
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.
Diffstat (limited to 'src/common/logging/backend.cpp')
| -rw-r--r-- | src/common/logging/backend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index d5cff400f..47dba48ca 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp | |||
| @@ -159,7 +159,7 @@ FileBackend::FileBackend(const std::filesystem::path& filename) { | |||
| 159 | 159 | ||
| 160 | // Existence checks are done within the functions themselves. | 160 | // Existence checks are done within the functions themselves. |
| 161 | // We don't particularly care if these succeed or not. | 161 | // We don't particularly care if these succeed or not. |
| 162 | void(FS::RemoveFile(old_filename)); | 162 | FS::RemoveFile(old_filename); |
| 163 | void(FS::RenameFile(filename, old_filename)); | 163 | void(FS::RenameFile(filename, old_filename)); |
| 164 | 164 | ||
| 165 | file = | 165 | file = |