mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Base: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the common and base classes.
This commit is contained in:
parent
9f802b2a4d
commit
fe0c22c789
240 changed files with 6823 additions and 6787 deletions
|
@ -50,9 +50,9 @@ constexpr int NUM_TIMER_TYPES = int(TIMER_THREAD_HEARTBEAT) + 1;
|
|||
|
||||
extern const char* timer_type_to_string(TimerType type);
|
||||
|
||||
class Timer : public zeek::detail::PQ_Element {
|
||||
class Timer : public PQ_Element {
|
||||
public:
|
||||
Timer(double t, TimerType arg_type) : zeek::detail::PQ_Element(t), type(arg_type) {}
|
||||
Timer(double t, TimerType arg_type) : PQ_Element(t), type(arg_type) {}
|
||||
~Timer() override { }
|
||||
|
||||
TimerType Type() const { return type; }
|
||||
|
@ -167,7 +167,7 @@ protected:
|
|||
Timer* Remove() { return (Timer*) q->Remove(); }
|
||||
Timer* Top() { return (Timer*) q->Top(); }
|
||||
|
||||
zeek::detail::PriorityQueue* q;
|
||||
PriorityQueue* q;
|
||||
};
|
||||
|
||||
extern TimerMgr* timer_mgr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue