mirror of
https://github.com/znc/znc.git
synced 2026-08-11 11:23:18 +02:00
Replace virtual with override where possible.
Using clang-tidy
This commit is contained in:
@@ -49,7 +49,7 @@ class CAwayJob : public CTimer {
|
||||
const CString& sLabel, const CString& sDescription)
|
||||
: CTimer(pModule, uInterval, uCycles, sLabel, sDescription) {}
|
||||
|
||||
virtual ~CAwayJob() {}
|
||||
~CAwayJob() override {}
|
||||
|
||||
protected:
|
||||
void RunJob() override;
|
||||
@@ -250,7 +250,7 @@ class CAway : public CModule {
|
||||
static_cast<CModCommand::ModCmdFunc>(&CAway::TimerCommand));
|
||||
}
|
||||
|
||||
virtual ~CAway() {
|
||||
~CAway() override {
|
||||
if (!m_bBootError) SaveBufferToDisk();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user