mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
More final markings.
These classes were recommended by gcc's -Wsugggest-final-types as places where large numbers of virtual functions could be optimized away.
This commit is contained in:
parent
9c89cd4a47
commit
4035ec7760
21 changed files with 26 additions and 27 deletions
|
@ -165,7 +165,7 @@ private:
|
|||
/**
|
||||
* Represents a request to add an analyzer to an analyzer set.
|
||||
*/
|
||||
class AddMod : public Modification {
|
||||
class AddMod final : public Modification {
|
||||
public:
|
||||
/**
|
||||
* Construct request which can add an analyzer to an analyzer set.
|
||||
|
@ -186,7 +186,7 @@ private:
|
|||
/**
|
||||
* Represents a request to remove an analyzer from an analyzer set.
|
||||
*/
|
||||
class RemoveMod : public Modification {
|
||||
class RemoveMod final : public Modification {
|
||||
public:
|
||||
/**
|
||||
* Construct request which can remove an analyzer from an analyzer set.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue