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

Add getter for self pointer

parent 64b87266
...@@ -74,6 +74,10 @@ public: ...@@ -74,6 +74,10 @@ public:
then_impl(f, e); then_impl(f, e);
} }
Self* self() {
return self_;
}
private: private:
template <class F> template <class F>
void await_impl(F& f) const { void await_impl(F& f) const {
...@@ -172,6 +176,9 @@ public: ...@@ -172,6 +176,9 @@ public:
self_->varargs_receive(rc, mid_, std::move(ef), std::move(ca)); self_->varargs_receive(rc, mid_, std::move(ef), std::move(ca));
} }
Self* self() {
return self_;
}
private: private:
message_id mid_; 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