Replace virtual with override where possible.

Using clang-tidy
This commit is contained in:
Alexey Sokolov
2015-12-08 20:51:50 +00:00
parent 79e979e5cd
commit 16a8c77737
59 changed files with 101 additions and 104 deletions

View File

@@ -50,7 +50,7 @@ class CSASLAuthMod : public CModule {
&CSASLAuthMod::DisableCloneUserCommand));
}
virtual ~CSASLAuthMod() { sasl_done(); }
~CSASLAuthMod() override { sasl_done(); }
void OnModCommand(const CString& sCommand) override {
if (GetUser()->IsAdmin()) {