Rename BroType to Type

This commit is contained in:
Tim Wojtulewicz 2020-06-10 14:27:36 -07:00
parent c04d9cae45
commit 137e416a03
34 changed files with 367 additions and 359 deletions

View file

@ -18,7 +18,7 @@ static void topk_element_hash_delete_func(void* val)
delete e;
}
void TopkVal::Typify(IntrusivePtr<zeek::BroType> t)
void TopkVal::Typify(IntrusivePtr<zeek::Type> t)
{
assert(!hash && !type);
type = std::move(t);

View file

@ -161,9 +161,9 @@ private:
*
* @param t type that is tracked
*/
void Typify(IntrusivePtr<zeek::BroType> t);
void Typify(IntrusivePtr<zeek::Type> t);
IntrusivePtr<zeek::BroType> type;
IntrusivePtr<zeek::Type> type;
CompositeHash* hash;
std::list<Bucket*> buckets;
PDict<Element>* elementDict;