mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
removed deprecated capture-by-reference closures
This commit is contained in:
parent
5ccba54335
commit
5a0a88526e
20 changed files with 59 additions and 1220 deletions
|
@ -85,11 +85,9 @@ class CPPLambdaFunc : public ScriptFunc
|
|||
public:
|
||||
CPPLambdaFunc(std::string name, FuncTypePtr ft, CPPStmtPtr l_body);
|
||||
|
||||
bool HasCopySemantics() const override { return true; }
|
||||
|
||||
protected:
|
||||
// Methods related to sending lambdas via Broker.
|
||||
broker::expected<broker::data> SerializeClosure() const override;
|
||||
broker::expected<broker::data> SerializeCaptures() const override;
|
||||
void SetCaptures(Frame* f) override;
|
||||
|
||||
FuncPtr DoClone() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue