diff options
author | bunnei <bunneidev@gmail.com> | 2021-06-23 02:21:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 02:21:59 +0200 |
commit | 0308a2679ed87aa9cb07e2bde19e165dc454c322 (patch) | |
tree | a1d29aacabab533673bff8043ec11864d68ed022 /src/common/logging/backend.cpp | |
parent | Merge pull request #6472 from Morph1984/spl (diff) | |
parent | common: fs: Add a description of a regular file in IsFile (diff) | |
download | yuzu-0308a2679ed87aa9cb07e2bde19e165dc454c322.tar yuzu-0308a2679ed87aa9cb07e2bde19e165dc454c322.tar.gz yuzu-0308a2679ed87aa9cb07e2bde19e165dc454c322.tar.bz2 yuzu-0308a2679ed87aa9cb07e2bde19e165dc454c322.tar.lz yuzu-0308a2679ed87aa9cb07e2bde19e165dc454c322.tar.xz yuzu-0308a2679ed87aa9cb07e2bde19e165dc454c322.tar.zst yuzu-0308a2679ed87aa9cb07e2bde19e165dc454c322.zip |
Diffstat (limited to 'src/common/logging/backend.cpp')
-rw-r--r-- | src/common/logging/backend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index d5cff400f..47ce06478 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -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 = @@ -186,7 +186,7 @@ void FileBackend::Write(const Entry& entry) { bytes_written += file->WriteString(FormatLogMessage(entry).append(1, '\n')); if (entry.log_level >= Level::Error) { - void(file->Flush()); + file->Flush(); } } |