mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Mark input/output message classes as final, since nothing should be inheriting from them
This commit is contained in:
parent
186005133b
commit
d614756a7f
5 changed files with 26 additions and 26 deletions
|
@ -16,7 +16,7 @@ using threading::Field;
|
|||
|
||||
namespace logging {
|
||||
|
||||
class RotationFinishedMessage : public threading::OutputMessage<WriterFrontend>
|
||||
class RotationFinishedMessage final : public threading::OutputMessage<WriterFrontend>
|
||||
{
|
||||
public:
|
||||
RotationFinishedMessage(WriterFrontend* writer, const char* new_name, const char* old_name,
|
||||
|
@ -45,7 +45,7 @@ private:
|
|||
bool terminating;
|
||||
};
|
||||
|
||||
class FlushWriteBufferMessage : public threading::OutputMessage<WriterFrontend>
|
||||
class FlushWriteBufferMessage final : public threading::OutputMessage<WriterFrontend>
|
||||
{
|
||||
public:
|
||||
FlushWriteBufferMessage(WriterFrontend* writer)
|
||||
|
@ -54,7 +54,7 @@ public:
|
|||
bool Process() override { Object()->FlushWriteBuffer(); return true; }
|
||||
};
|
||||
|
||||
class DisableMessage : public threading::OutputMessage<WriterFrontend>
|
||||
class DisableMessage final : public threading::OutputMessage<WriterFrontend>
|
||||
{
|
||||
public:
|
||||
DisableMessage(WriterFrontend* writer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue