market_history_plugin.cpp: Fix compiler warning
This commit is contained in:
parent
00253b396e
commit
5885c243fb
1 changed files with 2 additions and 1 deletions
|
|
@ -107,7 +107,8 @@ struct operation_process_fill_order
|
||||||
auto itr = by_key_idx.find( key );
|
auto itr = by_key_idx.find( key );
|
||||||
if( itr == by_key_idx.end() )
|
if( itr == by_key_idx.end() )
|
||||||
{ // create new bucket
|
{ // create new bucket
|
||||||
const auto& obj = db.create<bucket_object>( [&]( bucket_object& b ){
|
/* const auto& obj = */
|
||||||
|
db.create<bucket_object>( [&]( bucket_object& b ){
|
||||||
b.key = key;
|
b.key = key;
|
||||||
b.quote_volume += trade_price.quote.amount;
|
b.quote_volume += trade_price.quote.amount;
|
||||||
b.base_volume += trade_price.base.amount;
|
b.base_volume += trade_price.base.amount;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue