From 5885c243fb336b8cd37e8b7e508856099d8317e8 Mon Sep 17 00:00:00 2001 From: theoreticalbts Date: Tue, 29 Sep 2015 12:16:17 -0400 Subject: [PATCH] market_history_plugin.cpp: Fix compiler warning --- libraries/plugins/market_history/market_history_plugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/plugins/market_history/market_history_plugin.cpp b/libraries/plugins/market_history/market_history_plugin.cpp index 72cfb38c..67f3423f 100644 --- a/libraries/plugins/market_history/market_history_plugin.cpp +++ b/libraries/plugins/market_history/market_history_plugin.cpp @@ -107,7 +107,8 @@ struct operation_process_fill_order auto itr = by_key_idx.find( key ); if( itr == by_key_idx.end() ) { // create new bucket - const auto& obj = db.create( [&]( bucket_object& b ){ + /* const auto& obj = */ + db.create( [&]( bucket_object& b ){ b.key = key; b.quote_volume += trade_price.quote.amount; b.base_volume += trade_price.base.amount;