Commit 9ccb6495 authored by Joseph Noir's avatar Joseph Noir

Merge branch 'unstable' of github.com:Neverlord/libcppa into unstable

parents a62a5cb7 e1ffb3bf
...@@ -58,11 +58,11 @@ void response_handle::apply(any_tuple msg) const { ...@@ -58,11 +58,11 @@ void response_handle::apply(any_tuple msg) const {
local_actor* sptr = self.unchecked(); local_actor* sptr = self.unchecked();
bool use_chaining = sptr && sptr == m_from && sptr->chaining_enabled(); bool use_chaining = sptr && sptr == m_from && sptr->chaining_enabled();
if (use_chaining) { if (use_chaining) {
if (m_to->chained_enqueue({m_from, m_id}, move(msg))) { if (m_to->chained_enqueue({m_from, m_to, m_id}, move(msg))) {
sptr->chained_actor(m_to); sptr->chained_actor(m_to);
} }
} }
else m_to->enqueue({m_from, m_id}, move(msg)); else m_to->enqueue({m_from, m_to, m_id}, move(msg));
} }
} }
......
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