Ran clang-format.
This commit is contained in:
1 parent
ef00559f1e
commit
5e1fd41935
38 files changed
+1702
-1802
No files matched your search
@@ -18,12 +18,12 @@
|
||||
#include "lib/orderman/actors/ServiceBridge.h"
|
||||
#include "lib/orderman/actors/order_manager/OrderManager.h"
|
||||
#include "lib/orderman/order_factory/DynamicOrderRegistry.h"
|
||||
#include "lib/utils/bts_chrono.h"
|
||||
#include "lib/plugin/plugin.h"
|
||||
#include "lib/plugin/SparkServices.h"
|
||||
#include "lib/plugin/plugin.h"
|
||||
#include "lib/utils/bts_chrono.h"
|
||||
#include "lib/utils/thread_manager.h"
|
||||
#include "lib/utils/type_name.h"
|
||||
|
||||
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
|
||||
namespace bts {
|
||||
@@ -90,8 +90,7 @@ ActorThread *find_thread_for_actor(
|
||||
struct OrderServiceServer::PImpl {
|
||||
PImpl(bts::api::ServiceContext &ctx,
|
||||
std::shared_ptr<api::ISyntheticSecurityService> &ss,
|
||||
DynamicOrderRegistry const &d,
|
||||
metrics::MetricsContainer &stats)
|
||||
DynamicOrderRegistry const &d, metrics::MetricsContainer &stats)
|
||||
: service_bridge(), service_ready(false), known_orders(), known_fills(),
|
||||
publish_orders(), publish_fills(),
|
||||
admin_service(ctx.locate<api::admin::AdminService>()), md_consumer(ss),
|
||||
@@ -116,10 +115,10 @@ struct OrderServiceServer::PImpl {
|
||||
OrderServiceServer::OrderServiceServer(
|
||||
bts::api::ServiceContext &ctx,
|
||||
std::shared_ptr<api::ISyntheticSecurityService> &ss,
|
||||
DynamicOrderRegistry const&d,
|
||||
metrics::MetricsContainer &stats, PerfTraceLog &log)
|
||||
: api::orderman::OrderServiceBase(ctx), me(new PImpl(ctx, ss, d,stats)) {
|
||||
|
||||
DynamicOrderRegistry const &d, metrics::MetricsContainer &stats,
|
||||
PerfTraceLog &log)
|
||||
: api::orderman::OrderServiceBase(ctx), me(new PImpl(ctx, ss, d, stats)) {
|
||||
|
||||
me->publish_orders = make_orders_publisher();
|
||||
me->publish_fills = make_fills_publisher();
|
||||
|
||||
@@ -214,9 +213,7 @@ OrderServiceServer::OrderServiceServer(
|
||||
[this, &ctx](auto const &fill) {
|
||||
ctx.post([this, fill] { this->on_fills(fill); });
|
||||
},
|
||||
me->dyn_order_registry,
|
||||
thread->executor.make_proxy());
|
||||
|
||||
me->dyn_order_registry, thread->executor.make_proxy());
|
||||
|
||||
thread->executor.activate(me->service_bridge);
|
||||
|
||||
|
||||
Reference in new issue
Block a user