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

@@ -44,8 +44,8 @@ public:
SetWSock(open("/dev/null", O_WRONLY));
}
// These next two function's bodies are at the bottom of the file since they reference CShellMod
virtual void ReadLine(const CString& sData) override;
virtual void Disconnected() override;
void ReadLine(const CString& sData) override;
void Disconnected() override;
CShellMod* m_pParent;
@@ -67,7 +67,7 @@ public:
}
}
virtual bool OnLoad(const CString& sArgs, CString& sMessage) override
bool OnLoad(const CString& sArgs, CString& sMessage) override
{
#ifndef MOD_SHELL_ALLOW_EVERYONE
if (!GetUser()->IsAdmin()) {
@@ -79,7 +79,7 @@ public:
return true;
}
virtual void OnModCommand(const CString& sLine) override {
void OnModCommand(const CString& sLine) override {
CString sCommand = sLine.Token(0);
if (sCommand.Equals("cd")) {
CString sArg = sLine.Token(1, true);