Commit 63106cb5 authored by Dominik Charousset's avatar Dominik Charousset

Add getter for self pointer

parent 64b87266
......@@ -74,6 +74,10 @@ public:
then_impl(f, e);
}
Self* self() {
return self_;
}
private:
template <class F>
void await_impl(F& f) const {
......@@ -172,6 +176,9 @@ public:
self_->varargs_receive(rc, mid_, std::move(ef), std::move(ca));
}
Self* self() {
return self_;
}
private:
message_id mid_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment