Another clang-format run, changed how parameters are binned

This commit is contained in:
Pedro Pinto committed 2020-12-30 17:30:10 -05:00
1 parent 8f21a77150
commit de063e51f0
452 files changed
+5506 -2380

No files matched your search

+7 -3
View File
@@ -109,7 +109,9 @@ class ActiveOrder {
struct MBOServiceImpl {
MBOServiceImpl(
api::ServiceContext &ctx, utils::Dispatcher &d, md::MDClient &c,
api::ServiceContext &ctx,
utils::Dispatcher &d,
md::MDClient &c,
MBOServiceBase::PiqPublisher &&pub)
: dispatcher(d), client(c),
orders(ctx.locate<api::orderman::OrderService>()), handle_index(c),
@@ -211,7 +213,8 @@ bool is_active_exchange_order(const OrderRecord &record) {
}
void try_remove(
MBOServiceImpl &me, std::set<uint32_t> &to_remove,
MBOServiceImpl &me,
std::set<uint32_t> &to_remove,
const OrderRecord &record) {
auto key = SparkOrderKey(record.key());
auto iter = me.active.find(key);
@@ -221,7 +224,8 @@ void try_remove(
}
}
void try_add(
MBOServiceImpl &me, std::vector<OrderPIQ> &to_add,
MBOServiceImpl &me,
std::vector<OrderPIQ> &to_add,
const OrderRecord &record) {
if (is_active_exchange_order(record)) {
auto native = native_order_state(record);