mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Add missing override keyword
This commit is contained in:
parent
a3b27b4a6d
commit
e93adc65ee
@ -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;
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user