Commit 2a378bfc authored by Dominik Charousset's avatar Dominik Charousset Committed by Dominik Charousset

Fix assertion placement

parent 91a6ace1
......@@ -62,8 +62,8 @@ basp_broker::basp_broker(actor_config& cfg)
basp::instance::callee(super::system(),
static_cast<proxy_registry::backend&>(*this)),
this_context(nullptr) {
CAF_ASSERT(this_node() != none);
new (&instance) basp::instance(this, *this);
CAF_ASSERT(this_node() != none);
}
basp_broker::~basp_broker() {
......
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