mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
fix bug in serialization test
This commit is contained in:
parent
bdc8e0e6c4
commit
e6464dae79
6 changed files with 58 additions and 12 deletions
|
@ -970,12 +970,6 @@ protected:
|
|||
private:
|
||||
std::unique_ptr<function_ingredients> ingredients;
|
||||
|
||||
// I prefer a shared pointer here to copying. Despite the
|
||||
// list being quite small most of the time, there is much
|
||||
// copying that happens.
|
||||
// 1 - when a function is created
|
||||
// 2 - when that function is called (to create the closure)
|
||||
// 2 - when a closure is cloned / serialized
|
||||
id_list outer_ids;
|
||||
std::string my_name;
|
||||
};
|
||||
|
|
|
@ -173,7 +173,7 @@ public:
|
|||
*
|
||||
* @return the broker representaton, or an error if the serialization
|
||||
* failed.
|
||||
*/
|
||||
*/
|
||||
static broker::expected<broker::data> Serialize(const Frame* target, const id_list selection);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue