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

@ -3,7 +3,6 @@
#pragma once
#include "Type.h"
#include "CompHash.h"
#include "BroString.h"
#include "Timer.h"
#include "Notifier.h"
@ -698,6 +697,7 @@ protected:
};
class CompositeHash;
class HashKey;
class Frame;
class TableVal : public Val, public notifier::Modifiable {
@ -814,8 +814,7 @@ public:
timer = 0;
}
HashKey* ComputeHash(const Val* index) const
{ return table_hash->ComputeHash(index, 1); }
HashKey* ComputeHash(const Val* index) const;
notifier::Modifiable* Modifiable() override { return this; }