Remove unnecessary virtual specifiers from final classes

This commit is contained in:
Tim Wojtulewicz 2023-01-14 16:23:40 -07:00
parent 6876462f48
commit 7374688d0d
4 changed files with 8 additions and 8 deletions

View file

@ -172,10 +172,10 @@ protected:
void DeliverChunk(int& len, const u_char*& data);
void ScanOption(int& len, const u_char*& data);
virtual void SawOption(unsigned int code);
virtual void SawOption(unsigned int code, unsigned int subcode);
virtual void SawSubOption(const char* opt, int len);
virtual void BadOptionTermination(unsigned int code);
void SawOption(unsigned int code);
void SawOption(unsigned int code, unsigned int subcode);
void SawSubOption(const char* opt, int len);
void BadOptionTermination(unsigned int code);
const char* PeerAuthName() const;
NVT_Analyzer* peer = nullptr;

View file

@ -234,11 +234,11 @@ protected:
};
void Init() override;
virtual bool CheckResync(int& len, const u_char*& data, bool orig);
bool CheckResync(int& len, const u_char*& data, bool orig);
void DeliverStream(int len, const u_char* data, bool orig) override;
void Undelivered(uint64_t seq, int len, bool orig) override;
virtual void NeedResync()
void NeedResync()
{
resync_state = NEED_RESYNC;
resync_toskip = 0;

View file

@ -83,7 +83,7 @@ public:
uint64_t DataSeq() const { return LastReassemSeq(); }
void DeliverBlock(uint64_t seq, int len, const u_char* data);
virtual void Deliver(uint64_t seq, int len, const u_char* data);
void Deliver(uint64_t seq, int len, const u_char* data);
TCP_Endpoint* Endpoint() { return endp; }
const TCP_Endpoint* Endpoint() const { return endp; }