mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +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
|
@ -13,7 +13,7 @@ extern "C" {
|
|||
namespace iosource {
|
||||
namespace pcap {
|
||||
|
||||
class PcapSource : public iosource::PktSrc {
|
||||
class PcapSource final : public iosource::PktSrc {
|
||||
public:
|
||||
PcapSource(const std::string& path, bool is_live);
|
||||
~PcapSource() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue