mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
parent
9a319a995e
commit
e78c20c0f8
2 changed files with 5 additions and 1 deletions
|
@ -3125,12 +3125,13 @@ void VectorVal::ValDescribe(ODesc* d) const
|
|||
d->Add("]");
|
||||
}
|
||||
|
||||
OpaqueVal::OpaqueVal(OpaqueType* t) : Val(t)
|
||||
OpaqueVal::OpaqueVal(OpaqueType* t) : Val(t), type(t)
|
||||
{
|
||||
}
|
||||
|
||||
OpaqueVal::~OpaqueVal()
|
||||
{
|
||||
Unref(type);
|
||||
}
|
||||
|
||||
IMPLEMENT_SERIAL(OpaqueVal, SER_OPAQUE_VAL);
|
||||
|
|
|
@ -1024,6 +1024,9 @@ protected:
|
|||
OpaqueVal() { }
|
||||
|
||||
DECLARE_SERIAL(OpaqueVal);
|
||||
|
||||
private:
|
||||
OpaqueType* type;
|
||||
};
|
||||
|
||||
// Checks the given value for consistency with the given type. If an
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue