Val: eliminate the "CompHash.h" include

This commit is contained in:
Max Kellermann 2020-02-11 10:35:34 +01:00
parent 4aac78cf29
commit 728184ea93
4 changed files with 10 additions and 3 deletions

View file

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