Mod: Use override etc 2

This commit is contained in:
berniev
2022-08-09 11:53:46 +10:00
committed by wwmayer
parent 0c70d45c83
commit ddafb98813
697 changed files with 4956 additions and 4956 deletions

View File

@@ -75,7 +75,7 @@ public:
{
}
protected:
int overflow(int c = EOF)
int overflow(int c = EOF) override
{
if (c != EOF) {
char z = static_cast<char>(c);
@@ -83,7 +83,7 @@ protected:
}
return c;
}
std::streamsize xsputn (const char* s, std::streamsize num)
std::streamsize xsputn (const char* s, std::streamsize num) override
{
out->write(s);
return num;
@@ -114,7 +114,7 @@ public:
buffer+pbSize);
}
protected:
int underflow()
int underflow() override
{
if (gptr() < egptr()) {
return *gptr();
@@ -164,7 +164,7 @@ public:
{
this->rdbuf(&buf);
}
~SoInputStream()
~SoInputStream() override
{
}