Insert Customer in cfg->customer multimap
This commit is contained in:
parent
7dcd7a624b
commit
17968082f1
@ -424,7 +424,8 @@ bool Configuration::ParseJson(Configuration* cfg, const char* json)
|
|||||||
DailyTicket.reset();
|
DailyTicket.reset();
|
||||||
break;
|
break;
|
||||||
case MemberType::CustomerType:
|
case MemberType::CustomerType:
|
||||||
// qCritical() << Customer;
|
cfg->Customer.insert(pair<int, ATBCustomer>(Customer.cust_id, Customer));
|
||||||
|
qCritical() << Customer;
|
||||||
break;
|
break;
|
||||||
case MemberType::TimeBaseType:
|
case MemberType::TimeBaseType:
|
||||||
cfg->TimeBase.insert(pair<int, ATBTimeBase>(TimeBase.tbase_id, TimeBase));
|
cfg->TimeBase.insert(pair<int, ATBTimeBase>(TimeBase.tbase_id, TimeBase));
|
||||||
|
Loading…
Reference in New Issue
Block a user