robustness improvements for -O gen-C++ generation of lambdas / "when"s

This commit is contained in:
Vern Paxson 2024-08-13 14:45:33 -07:00
parent 0ca2f9a8b2
commit 207b82ae4b
6 changed files with 66 additions and 35 deletions

View file

@ -77,6 +77,7 @@ protected:
// Methods related to sending lambdas via Broker.
std::optional<BrokerData> SerializeCaptures() const override;
void SetCaptures(Frame* f) override;
void SetCapturesVec(std::unique_ptr<std::vector<ZVal>> _captures_vec) { captures_vec = std::move(_captures_vec); }
FuncPtr DoClone() override;