[Scummvm-git-logs] scummvm master -> 49ce49aae6cfaf8046de392146fcbf65f9b4470a

sluicebox 22204938+sluicebox at users.noreply.github.com
Mon Aug 9 13:53:24 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
49ce49aae6 COMMON: Update override keywords in OutSaveFile


Commit: 49ce49aae6cfaf8046de392146fcbf65f9b4470a
    https://github.com/scummvm/scummvm/commit/49ce49aae6cfaf8046de392146fcbf65f9b4470a
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2021-08-09T08:37:53-05:00

Commit Message:
COMMON: Update override keywords in OutSaveFile

Changed paths:
    common/savefile.h


diff --git a/common/savefile.h b/common/savefile.h
index 17abad38ff..0894022c8c 100644
--- a/common/savefile.h
+++ b/common/savefile.h
@@ -65,12 +65,12 @@ public:
 	 * This flag is never cleared automatically. In order to clear it,
 	 * you must call clearErr() explicitly.
 	 */
-	virtual bool err() const;
+	bool err() const override;
 
 	/**
 	 * Reset the I/O error status as returned by err().
 	 */
-	virtual void clearErr();
+	void clearErr() override;
 
 	/**
 	 * Finalize and close this stream. To be called right before this
@@ -83,14 +83,14 @@ public:
 	 *
 	 * By default, this just flushes the stream.
 	 */
-	virtual void finalize();
+	void finalize() override;
 
 	/**
 	 * Commit any buffered data to the underlying channel or
 	 * storage medium. Unbuffered streams can use the default
 	 * implementation
 	 */
-	virtual bool flush();
+	bool flush() override;
 
 	/**
 	 * Write data into the stream.
@@ -98,7 +98,7 @@ public:
 	 * @param dataPtr	Pointer to the data to be written.
 	 * @param dataSize	Number of bytes to be written.
 	 */
-	virtual uint32 write(const void *dataPtr, uint32 dataSize);
+	uint32 write(const void *dataPtr, uint32 dataSize) override;
 
 	/**
 	* Obtain the current value of the stream position indicator of the
@@ -106,7 +106,7 @@ public:
 	*
 	* @return The current position indicator, or -1 if an error occurred.
 	 */
-	virtual int64 pos() const;
+	int64 pos() const override;
 
 	/**
 	 * Seeks to a new position within the file.




More information about the Scummvm-git-logs mailing list