Commit 92c053be authored by Dominik Charousset's avatar Dominik Charousset

fixed requirement in response_handle

parent 318bf45c
...@@ -42,7 +42,7 @@ response_handle::response_handle(const actor_ptr& from, ...@@ -42,7 +42,7 @@ response_handle::response_handle(const actor_ptr& from,
const actor_ptr& to, const actor_ptr& to,
const message_id& id) const message_id& id)
: m_from(from), m_to(to), m_id(id) { : m_from(from), m_to(to), m_id(id) {
CPPA_REQUIRE(id.is_response()); CPPA_REQUIRE(id.is_response() || !id.valid());
} }
bool response_handle::valid() const { bool response_handle::valid() const {
......
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