mirror of
https://github.com/znc/znc.git
synced 2026-08-03 23:43:42 +02:00
Replace virtual with override where possible.
Using clang-tidy
This commit is contained in:
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user