summaryrefslogtreecommitdiffstats
path: root/src/common/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/fs')
-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.