mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Add new unit test for opaque serialization.
One Bro begins a computation, another finishes it. (This commit also fixes a problem with the serialization OpaqueVals.)
This commit is contained in:
parent
b9d05f56d0
commit
69d8d29fbd
6 changed files with 99 additions and 20 deletions
|
@ -1019,16 +1019,11 @@ public:
|
|||
OpaqueVal(OpaqueType* t);
|
||||
virtual ~OpaqueVal();
|
||||
|
||||
// Determines whether the opaque value is in a valid state.
|
||||
virtual bool IsValid() const;
|
||||
|
||||
protected:
|
||||
friend class Val;
|
||||
OpaqueVal() { }
|
||||
|
||||
DECLARE_SERIAL(OpaqueVal);
|
||||
|
||||
OpaqueType* opaque_type;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue