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:
Arne Welzel 2025-03-27 14:38:17 +01:00
parent f7425b805d
commit 2f9b1e21bd

View file

@ -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;