Fixed build.

This commit is contained in:
Pedro Pinto committed 2018-11-13 22:41:54 +00:00
1 parent 097db2f340
commit 141e1a4ea0
3 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -264,9 +264,9 @@ void DynamicIcebergOrder::on_child_order_update(
switch (me->state.status()) {
case ORDER_STATUS_WORKING:
if (ev.key == me->child.order.key()) {
me->child.state = ev.state;
me->child.state = ev.rebuild_state();
switch (ev.state.status()) {
switch (me->child.state.status()) {
case ORDER_STATUS_WORKING:
case ORDER_STATUS_PENDING_WORKING:
@@ -312,7 +312,7 @@ void DynamicIcebergOrder::on_child_order_update(
"DynamicIceberg order {} received update for non active child "
"order{} . update state = {} ",
key().value(), me->child.order.key().value(),
utils::pb::to_string(ev.state));
utils::pb::to_string(ev.rebuild_state()));
}
break;