Commit 8d6df336 authored by Marian Triebe's avatar Marian Triebe

Fix compile with runtime checks enabled

parent ba460d07
......@@ -610,7 +610,7 @@ behavior basp_broker::make_behavior() {
// for the handshake to complete and we can attach to the
// respective callback
auto j = state.ctx.find(x.first);
CAF_ASSERT(j != ctx.end());
CAF_ASSERT(j != state.ctx.end());
CAF_ASSERT(j->second.callback != nullptr);
auto f = j->second.callback; // store previous callback
j->second.callback = [f, rp](const maybe<message>& x) {
......
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