mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04: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.
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace file_analysis {
|
|||
|
||||
class File;
|
||||
|
||||
class FileReassembler : public Reassembler {
|
||||
class FileReassembler final : public Reassembler {
|
||||
public:
|
||||
|
||||
FileReassembler(File* f, uint64_t starting_offset);
|
||||
|
@ -56,4 +56,4 @@ protected:
|
|||
bool flushing;
|
||||
};
|
||||
|
||||
} // namespace analyzer::*
|
||||
} // namespace analyzer::*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue