mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Move Timer and PriorityQueue classes to namespaces
This commit is contained in:
parent
910aa77d95
commit
1c17700c48
33 changed files with 206 additions and 140 deletions
|
@ -9,6 +9,8 @@
|
|||
#include "Reporter.h"
|
||||
#include "util.h"
|
||||
|
||||
namespace zeek::detail {
|
||||
|
||||
PriorityQueue::PriorityQueue(int initial_size) : max_heap_size(initial_size)
|
||||
{
|
||||
heap = new PQ_Element*[max_heap_size];
|
||||
|
@ -135,3 +137,5 @@ void PriorityQueue::BubbleDown(int bin)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue