Commit 4e28943e authored by Dominik Charousset's avatar Dominik Charousset

Fix access modifier for broker ctors

parent 82510e97
...@@ -64,11 +64,11 @@ public: ...@@ -64,11 +64,11 @@ public:
void initialize() override; void initialize() override;
protected:
broker(); broker();
broker(middleman& parent_ref); broker(middleman& parent_ref);
protected:
virtual behavior make_behavior(); virtual behavior make_behavior();
}; };
......
...@@ -187,7 +187,6 @@ public: ...@@ -187,7 +187,6 @@ public:
std::move(fun), hdl, std::forward<Ts>(xs)...); std::move(fun), hdl, std::forward<Ts>(xs)...);
} }
protected:
typed_broker() { typed_broker() {
// nop // nop
} }
...@@ -196,6 +195,7 @@ protected: ...@@ -196,6 +195,7 @@ protected:
// nop // nop
} }
protected:
virtual behavior_type make_behavior() { virtual behavior_type make_behavior() {
if (this->initial_behavior_fac_) { if (this->initial_behavior_fac_) {
auto bhvr = this->initial_behavior_fac_(this); auto bhvr = this->initial_behavior_fac_(this);
......
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