Tidy up OrderBook

This commit is contained in:
Vinnie Falco
2013-06-12 08:00:01 -07:00
parent e871b03986
commit 68a4e4329c
9 changed files with 100 additions and 74 deletions

View File

@@ -44,6 +44,7 @@ void OrderBookDB::setup(Ledger::ref ledger)
uint256 index = Ledger::getBookBase(ci, ii, co, io);
if (mSeen.insert(index).second)
{
// VFALCO TODO Reduce the clunkiness of these parameter wrappers
OrderBook::pointer book = boost::make_shared<OrderBook>(boost::cref(index),
boost::cref(ci), boost::cref(co), boost::cref(ii), boost::cref(io));