mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
Val: eliminate the "CompHash.h" include
This commit is contained in:
parent
4aac78cf29
commit
728184ea93
4 changed files with 10 additions and 3 deletions
|
@ -14,6 +14,7 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include "Attr.h"
|
||||
#include "CompHash.h"
|
||||
#include "Dict.h"
|
||||
#include "Net.h"
|
||||
#include "File.h"
|
||||
|
@ -2555,6 +2556,11 @@ unsigned int TableVal::MemoryAllocation() const
|
|||
+ table_hash->MemoryAllocation();
|
||||
}
|
||||
|
||||
HashKey* TableVal::ComputeHash(const Val* index) const
|
||||
{
|
||||
return table_hash->ComputeHash(index, 1);
|
||||
}
|
||||
|
||||
vector<RecordVal*> RecordVal::parse_time_records;
|
||||
|
||||
RecordVal::RecordVal(RecordType* t, bool init_fields) : Val(t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue