mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
Mark a large number of common types as final that shouldn't be overrideden
This commit is contained in:
parent
c2375fc88d
commit
9c89cd4a47
11 changed files with 93 additions and 93 deletions
|
@ -118,7 +118,7 @@ protected:
|
|||
};
|
||||
|
||||
|
||||
class BroFunc : public Func {
|
||||
class BroFunc final : public Func {
|
||||
public:
|
||||
BroFunc(ID* id, IntrusivePtr<Stmt> body, id_list* inits, size_t frame_size, int priority);
|
||||
~BroFunc() override;
|
||||
|
@ -193,7 +193,7 @@ private:
|
|||
|
||||
using built_in_func = Val* (*)(Frame* frame, const zeek::Args* args);
|
||||
|
||||
class BuiltinFunc : public Func {
|
||||
class BuiltinFunc final : public Func {
|
||||
public:
|
||||
BuiltinFunc(built_in_func func, const char* name, bool is_pure);
|
||||
~BuiltinFunc() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue