summaryrefslogtreecommitdiffstats
path: root/src/common/fs/file.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-19 09:48:02 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-22 19:36:24 +0200
commitcf0b9d1de2dd895de3ebc08b6399d8239f7096f7 (patch)
treec8597913a9c802da756afb23607df4fe91a78b8b /src/common/fs/file.h
parentcommon: fs: Remove [[nodiscard]] attribute on Remove* functions (diff)
downloadyuzu-cf0b9d1de2dd895de3ebc08b6399d8239f7096f7.tar
yuzu-cf0b9d1de2dd895de3ebc08b6399d8239f7096f7.tar.gz
yuzu-cf0b9d1de2dd895de3ebc08b6399d8239f7096f7.tar.bz2
yuzu-cf0b9d1de2dd895de3ebc08b6399d8239f7096f7.tar.lz
yuzu-cf0b9d1de2dd895de3ebc08b6399d8239f7096f7.tar.xz
yuzu-cf0b9d1de2dd895de3ebc08b6399d8239f7096f7.tar.zst
yuzu-cf0b9d1de2dd895de3ebc08b6399d8239f7096f7.zip
Diffstat (limited to 'src/common/fs/file.h')
-rw-r--r--src/common/fs/file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/fs/file.h b/src/common/fs/file.h
index 0f10b6003..087b2993a 100644
--- a/src/common/fs/file.h
+++ b/src/common/fs/file.h
@@ -394,11 +394,11 @@ public:
[[nodiscard]] size_t WriteString(std::span<const char> string) const;
/**
- * Flushes any unwritten buffered data into the file.
+ * Attempts to flush any unwritten buffered data into the file and flush the file into the disk.
*
* @returns True if the flush was successful, false otherwise.
*/
- [[nodiscard]] bool Flush() const;
+ bool Flush() const;
/**
* Resizes the file to a given size.