Remove unnecessary virtual keyword occurrences

This makes it convenient to 'grep virtual' and 'grep override' :)
This commit is contained in:
J-P Nurmi
2015-02-25 18:33:09 +01:00
parent ef9939e1ec
commit 6002bd5c2b
65 changed files with 515 additions and 515 deletions

View File

@@ -39,7 +39,7 @@ public:
virtual ~CSSLClientCertMod() {}
virtual bool OnBoot() override {
bool OnBoot() override {
const vector<CListener*>& vListeners = CZNC::Get().GetListeners();
vector<CListener*>::const_iterator it;
@@ -65,11 +65,11 @@ public:
return true;
}
virtual void OnPostRehash() override {
void OnPostRehash() override {
OnBoot();
}
virtual bool OnLoad(const CString& sArgs, CString& sMessage) override {
bool OnLoad(const CString& sArgs, CString& sMessage) override {
OnBoot();
return true;
@@ -101,7 +101,7 @@ public:
return pair.second;
}
virtual EModRet OnLoginAttempt(std::shared_ptr<CAuthBase> Auth) override {
EModRet OnLoginAttempt(std::shared_ptr<CAuthBase> Auth) override {
const CString sUser = Auth->GetUsername();
Csock *pSock = Auth->GetSocket();
CUser *pUser = CZNC::Get().FindUser(sUser);
@@ -236,9 +236,9 @@ public:
}
}
virtual CString GetWebMenuTitle() override { return "certauth"; }
CString GetWebMenuTitle() override { return "certauth"; }
virtual bool OnWebRequest(CWebSock& WebSock, const CString& sPageName, CTemplate& Tmpl) override {
bool OnWebRequest(CWebSock& WebSock, const CString& sPageName, CTemplate& Tmpl) override {
CUser *pUser = WebSock.GetSession()->GetUser();
if (sPageName == "index") {