Add missing override keyword

This commit is contained in:
Chris Thrasher 2022-01-18 12:43:25 -07:00 committed by Vittorio Romeo
parent a3b27b4a6d
commit e93adc65ee
2 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@ class SFML_SYSTEM_API LogcatStream : public std::streambuf
public: public:
LogcatStream(); LogcatStream();
std::streambuf::int_type overflow (std::streambuf::int_type c); std::streambuf::int_type overflow(std::streambuf::int_type c) override;
private: private:
std::string m_message; std::string m_message;

View File

@ -69,7 +69,7 @@ public:
/// \return The number of bytes actually read, or -1 on error /// \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 /// \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 /// \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 /// \brief Get the current reading position in the asset file
@ -87,7 +87,7 @@ public:
/// \return The current position, or -1 on error. /// \return The current position, or -1 on error.
/// ///
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
Int64 tell(); Int64 tell() override;
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Return the size of the asset file /// \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 /// \return The total number of bytes available in the asset, or -1 on error
/// ///
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
Int64 getSize(); Int64 getSize() override;
private: private: