mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58: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
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace logging { namespace writer {
|
||||
|
||||
class Ascii : public WriterBackend {
|
||||
class Ascii final : public WriterBackend {
|
||||
public:
|
||||
explicit Ascii(WriterFrontend* frontend);
|
||||
~Ascii() override;
|
||||
|
@ -75,4 +75,3 @@ private:
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
namespace logging { namespace writer {
|
||||
|
||||
class None : public WriterBackend {
|
||||
class None final : public WriterBackend {
|
||||
public:
|
||||
explicit None(WriterFrontend* frontend) : WriterBackend(frontend) {}
|
||||
~None() override {};
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
namespace logging { namespace writer {
|
||||
|
||||
class SQLite : public WriterBackend {
|
||||
class SQLite final : public WriterBackend {
|
||||
public:
|
||||
explicit SQLite(WriterFrontend* frontend);
|
||||
~SQLite() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue