mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Remove unnecessary virtual specifiers from final classes
This commit is contained in:
parent
6876462f48
commit
7374688d0d
4 changed files with 8 additions and 8 deletions
2
src/ID.h
2
src/ID.h
|
@ -143,7 +143,7 @@ public:
|
|||
bool DoInferReturnType() const { return infer_return_type; }
|
||||
void SetInferReturnType(bool infer) { infer_return_type = infer; }
|
||||
|
||||
virtual TraversalCode Traverse(TraversalCallback* cb) const;
|
||||
TraversalCode Traverse(TraversalCallback* cb) const;
|
||||
|
||||
bool HasOptionHandlers() const { return ! option_handlers.empty(); }
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue