mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Event/EventMgr: protected to private
These classes are final, so deriving isn't possible. No reason to have protected members.
This commit is contained in:
parent
f7425b805d
commit
2f9b1e21bd
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ public:
|
||||||
|
|
||||||
void Describe(ODesc* d) const override;
|
void Describe(ODesc* d) const override;
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
friend class EventMgr;
|
friend class EventMgr;
|
||||||
|
|
||||||
// This method is protected to make sure that everybody goes through
|
// This method is protected to make sure that everybody goes through
|
||||||
|
@ -116,7 +116,7 @@ public:
|
||||||
uint64_t num_events_queued = 0;
|
uint64_t num_events_queued = 0;
|
||||||
uint64_t num_events_dispatched = 0;
|
uint64_t num_events_dispatched = 0;
|
||||||
|
|
||||||
protected:
|
private:
|
||||||
void QueueEvent(Event* event);
|
void QueueEvent(Event* event);
|
||||||
|
|
||||||
Event* current = nullptr;
|
Event* current = nullptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue