Add more wxOVERRIDE

This commit is contained in:
Maarten Bent 2018-09-21 19:46:49 +02:00 committed by Vadim Zeitlin
parent 455a45f5a8
commit 7c1ab06ea5
51 changed files with 193 additions and 193 deletions

View file

@ -33,7 +33,7 @@ public:
TestStream(const void *buf, size_t size)
: wxMemoryInputStream(buf, size) { }
wxFileOffset GetLength() const { return wxInvalidOffset; }
wxFileOffset GetLength() const wxOVERRIDE { return wxInvalidOffset; }
};

View file

@ -70,7 +70,7 @@ public:
virtual ~LargeFileTest() { }
protected:
void runTest();
void runTest() wxOVERRIDE;
virtual wxInputStream *MakeInStream(const wxString& name) const = 0;
virtual wxOutputStream *MakeOutStream(const wxString& name) const = 0;
@ -210,9 +210,9 @@ public:
LargeFileTest_wxFile() : LargeFileTest("wxFile streams") { }
protected:
wxInputStream *MakeInStream(const wxString& name) const;
wxOutputStream *MakeOutStream(const wxString& name) const;
bool HasLFS() const { return (wxFileOffset)0xffffffff > 0; }
wxInputStream *MakeInStream(const wxString& name) const wxOVERRIDE;
wxOutputStream *MakeOutStream(const wxString& name) const wxOVERRIDE;
bool HasLFS() const wxOVERRIDE { return (wxFileOffset)0xffffffff > 0; }
};
wxInputStream *LargeFileTest_wxFile::MakeInStream(const wxString& name) const
@ -242,9 +242,9 @@ public:
LargeFileTest_wxFFile() : LargeFileTest("wxFFile streams") { }
protected:
wxInputStream *MakeInStream(const wxString& name) const;
wxOutputStream *MakeOutStream(const wxString& name) const;
bool HasLFS() const;
wxInputStream *MakeInStream(const wxString& name) const wxOVERRIDE;
wxOutputStream *MakeOutStream(const wxString& name) const wxOVERRIDE;
bool HasLFS() const wxOVERRIDE;
};
wxInputStream *LargeFileTest_wxFFile::MakeInStream(const wxString& name) const

View file

@ -66,7 +66,7 @@ public:
}
protected:
virtual void *Entry()
virtual void *Entry() wxOVERRIDE
{
wxSocketServer srv(LocalAddress(m_port), wxSOCKET_REUSEADDR);
CPPUNIT_ASSERT( srv.IsOk() );