From e93adc65ee1b836d5e519470e4db8ac497640b81 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Tue, 18 Jan 2022 12:43:25 -0700 Subject: [PATCH] Add missing override keyword --- src/SFML/System/Android/Activity.hpp | 2 +- src/SFML/System/Android/ResourceStream.hpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/SFML/System/Android/Activity.hpp b/src/SFML/System/Android/Activity.hpp index 943b106f..27bfba82 100644 --- a/src/SFML/System/Android/Activity.hpp +++ b/src/SFML/System/Android/Activity.hpp @@ -43,7 +43,7 @@ class SFML_SYSTEM_API LogcatStream : public std::streambuf public: LogcatStream(); - std::streambuf::int_type overflow (std::streambuf::int_type c); + std::streambuf::int_type overflow(std::streambuf::int_type c) override; private: std::string m_message; diff --git a/src/SFML/System/Android/ResourceStream.hpp b/src/SFML/System/Android/ResourceStream.hpp index 8f5829b9..6b922087 100644 --- a/src/SFML/System/Android/ResourceStream.hpp +++ b/src/SFML/System/Android/ResourceStream.hpp @@ -69,7 +69,7 @@ public: /// \return The number of bytes actually read, or -1 on error /// //////////////////////////////////////////////////////////// - Int64 read(void *data, Int64 size); + Int64 read(void *data, Int64 size) override; //////////////////////////////////////////////////////////// /// \brief Change the current reading position in the asset file @@ -79,7 +79,7 @@ public: /// \return The position actually sought to, or -1 on error /// //////////////////////////////////////////////////////////// - Int64 seek(Int64 position); + Int64 seek(Int64 position) override; //////////////////////////////////////////////////////////// /// \brief Get the current reading position in the asset file @@ -87,7 +87,7 @@ public: /// \return The current position, or -1 on error. /// //////////////////////////////////////////////////////////// - Int64 tell(); + Int64 tell() override; //////////////////////////////////////////////////////////// /// \brief Return the size of the asset file @@ -95,7 +95,7 @@ public: /// \return The total number of bytes available in the asset, or -1 on error /// //////////////////////////////////////////////////////////// - Int64 getSize(); + Int64 getSize() override; private: