Permalink
Browse files

fixed requirement in response_handle

  • Loading branch information...
Neverlord committed Apr 11, 2013
1 parent 318bf45 commit 92c053be250a024beba18d77863eaefe49ab8865
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/response_handle.cpp
View
@@ -42,7 +42,7 @@ response_handle::response_handle(const actor_ptr& from,
const actor_ptr& to,
const message_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 {

0 comments on commit 92c053b

Please sign in to comment.