Fixed failing "/flow/flow/promisestream callbacks" unit test

This commit is contained in:
tclinken 2020-04-08 11:24:56 -07:00
parent ff3e3fcc13
commit 488c20e58e
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class LambdaCallback : public CallbackType, public FastAllocated<LambdaCallback<
ErrFunc errFunc;
virtual void fire(T const& t) { CallbackType::remove(); func(t); delete this; }
virtual void fire(T &&t) { CallbackType::remove(); func(std::move(t)); delete this; }
virtual void error(Error e) { CallbackType::remove(); errFunc(e); delete this; }
public: