Replace virtual with override where possible.

Using clang-tidy
This commit is contained in:
Alexey Sokolov
2015-12-08 20:51:50 +00:00
parent 79e979e5cd
commit 16a8c77737
59 changed files with 101 additions and 104 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ class CDCCSock : public CSocket {
CDCCSock(CDCCMod* pMod, const CString& sRemoteNick,
const CString& sRemoteIP, unsigned short uRemotePort,
const CString& sLocalFile, unsigned long uFileSize);
virtual ~CDCCSock();
~CDCCSock() override;
void ReadData(const char* data, size_t len) override;
void ConnectionRefused() override;
@@ -95,7 +95,7 @@ class CDCCMod : public CModule {
&CDCCMod::ListTransfersCommand));
}
virtual ~CDCCMod() {}
~CDCCMod() override {}
#ifndef MOD_DCC_ALLOW_EVERYONE
bool OnLoad(const CString& sArgs, CString& sMessage) override {