mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Replace virtual with override where possible.
Using clang-tidy
This commit is contained in:
@@ -30,7 +30,7 @@ class CIMAPSock : public CSocket {
|
||||
EnableReadLine();
|
||||
}
|
||||
|
||||
virtual ~CIMAPSock() {
|
||||
~CIMAPSock() override {
|
||||
if (!m_bSentReply) {
|
||||
m_spAuth->RefuseLogin(
|
||||
"IMAP server is down, please try again later");
|
||||
@@ -56,7 +56,7 @@ class CIMAPAuthMod : public CModule {
|
||||
m_bSSL = false;
|
||||
}
|
||||
|
||||
virtual ~CIMAPAuthMod() {}
|
||||
~CIMAPAuthMod() override {}
|
||||
|
||||
bool OnBoot() override { return true; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user