Another clang-format run, changed how parameters are binned
This commit is contained in:
1 parent
8f21a77150
commit
de063e51f0
452 files changed
+5506
-2380
No files matched your search
@@ -354,7 +354,10 @@ void GLBXNativeOrder::warm_up_activate(
|
||||
}
|
||||
|
||||
OrderOpResult GLBXNativeOrder::_on_activate(
|
||||
log::Level reject_level, log::Level transition_level, Price p, Quantity q,
|
||||
log::Level reject_level,
|
||||
log::Level transition_level,
|
||||
Price p,
|
||||
Quantity q,
|
||||
bts::orderman::OrderServices &order_services) {
|
||||
me->state.set_price(p.value());
|
||||
me->state.set_quantity(q.value());
|
||||
@@ -1179,7 +1182,8 @@ void GLBXNativeOrder::transition(
|
||||
}
|
||||
|
||||
void GLBXNativeOrder::transition(
|
||||
log::Level level, api::orderman::OrderStatus new_status,
|
||||
log::Level level,
|
||||
api::orderman::OrderStatus new_status,
|
||||
std::string const &msg) {
|
||||
auto const &from = OrderStatus_Name(me->state.status());
|
||||
auto const &to = OrderStatus_Name(new_status);
|
||||
@@ -1286,7 +1290,8 @@ GLBXNativeOrder::get_native_state(api::orderman::OrderState &st) {
|
||||
}
|
||||
|
||||
void GLBXNativeOrder::ignore_or_cancel(
|
||||
std::string const &msg, api::orderman::OrderError error,
|
||||
std::string const &msg,
|
||||
api::orderman::OrderError error,
|
||||
OrderOpResult *out) {
|
||||
if (parent_key() == null_order_key())
|
||||
transition(me->state.status(), msg);
|
||||
|
||||
Reference in new issue
Block a user