Commit 8ae37687 authored by Dominik Charousset's avatar Dominik Charousset

Add getter for message ID

parent f1b84983
...@@ -72,7 +72,11 @@ public: ...@@ -72,7 +72,11 @@ public:
then_impl(f, e); then_impl(f, e);
} }
Self* self() { message_id id() const noexcept {
return mid_;
}
Self* self() noexcept {
return self_; return self_;
} }
...@@ -157,7 +161,11 @@ public: ...@@ -157,7 +161,11 @@ public:
self_->varargs_receive(rc, mid_, std::move(g), std::move(f)); self_->varargs_receive(rc, mid_, std::move(g), std::move(f));
} }
Self* self() { message_id id() const noexcept {
return mid_;
}
Self* self() noexcept {
return self_; return self_;
} }
......
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