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
+6 -6
View File
@@ -31,7 +31,7 @@ public:
virtual ~CSimpleAwayJob() {}
protected:
virtual void RunJob() override;
void RunJob() override;
};
class CSimpleAway : public CModule {
@@ -57,7 +57,7 @@ public:
virtual ~CSimpleAway() {}
virtual bool OnLoad(const CString& sArgs, CString& sMessage) override {
bool OnLoad(const CString& sArgs, CString& sMessage) override {
CString sReasonArg;
// Load AwayWait
@@ -91,18 +91,18 @@ public:
return true;
}
virtual void OnIRCConnected() override {
void OnIRCConnected() override {
if (GetNetwork()->IsUserAttached())
SetBack();
else
SetAway(false);
}
virtual void OnClientLogin() override {
void OnClientLogin() override {
SetBack();
}
virtual void OnClientDisconnect() override {
void OnClientDisconnect() override {
/* There might still be other clients */
if (!GetNetwork()->IsUserAttached())
SetAway();
@@ -140,7 +140,7 @@ public:
PutModule("Timer disabled");
}
virtual EModRet OnUserRaw(CString &sLine) override {
EModRet OnUserRaw(CString &sLine) override {
if (!sLine.Token(0).Equals("AWAY"))
return CONTINUE;