mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Mark all timers as final
This commit is contained in:
parent
e66148a13a
commit
c2375fc88d
14 changed files with 15 additions and 15 deletions
|
@ -238,7 +238,7 @@ void Reporter::UpdateWeirdStats(const char* name)
|
|||
++weird_count_by_type[name];
|
||||
}
|
||||
|
||||
class NetWeirdTimer : public Timer {
|
||||
class NetWeirdTimer final : public Timer {
|
||||
public:
|
||||
NetWeirdTimer(double t, const char* name, double timeout)
|
||||
: Timer(t + timeout, TIMER_NET_WEIRD_EXPIRE), weird_name(name)
|
||||
|
@ -250,7 +250,7 @@ public:
|
|||
std::string weird_name;
|
||||
};
|
||||
|
||||
class FlowWeirdTimer : public Timer {
|
||||
class FlowWeirdTimer final : public Timer {
|
||||
public:
|
||||
using IPPair = std::pair<IPAddr, IPAddr>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue