Deprecate internal_type(), replace with zeek::lookup_type()

This commit is contained in:
Jon Siwek 2020-05-08 17:44:20 -07:00
parent 32b895f4ba
commit ac06259eec
44 changed files with 218 additions and 182 deletions

View file

@ -6,7 +6,7 @@
#include "IntrusivePtr.h"
#include "NetVar.h"
#include "IPAddr.h"
#include "Var.h" // for internal_type()
#include "Var.h"
#include "UID.h"
#include <vector>
@ -198,7 +198,7 @@ public:
IntrusivePtr<VectorVal> ToVal() const
{
auto vv = make_intrusive<VectorVal>(
internal_type("EncapsulatingConnVector")->AsVectorType());
zeek::lookup_type("EncapsulatingConnVector")->AsVectorType());
if ( conns )
{