Fixed build.
This commit is contained in:
1 parent
27676e3db3
commit
69f4b0cb7e
1 file changed
+4
-4
@@ -250,24 +250,24 @@ OrderServiceServer::OrderServiceServer (bts::api::ServiceContext& ctx)
|
||||
me->publish_fills = make_fills_publisher();
|
||||
|
||||
me->fast.node.observe<event::GatewayStatusChange> ([&ctx,this] (auto const&s) {
|
||||
ctx.post([this,s] () { on_gateway_status_change(s);});
|
||||
ctx.post([this,s] () { this->on_gateway_status_change(s);});
|
||||
});
|
||||
|
||||
me->slow.node.observe<event::NativeFills> ([&ctx,this] (auto const&f) {
|
||||
ctx.post([this,f] () {
|
||||
on_fills(f);
|
||||
this->on_fills(f);
|
||||
});
|
||||
});
|
||||
|
||||
me->slow.node.observe<event::OrderStateChange> ([&ctx,this] (auto const&os) {
|
||||
ctx.post([this,os] () {
|
||||
on_order_updates(os);
|
||||
this->on_order_updates(os);
|
||||
});
|
||||
});
|
||||
|
||||
me->slow.node.observe<event::NativeOrderStateChange> ([&ctx,this] (auto const&os) {
|
||||
ctx.post([this,os] () {
|
||||
on_native_order_state_change(os);
|
||||
this->on_native_order_state_change(os);
|
||||
});
|
||||
});
|
||||
ctx.post([this] () {init();});
|
||||
|
||||
Reference in new issue
Block a user