Need ref wrapper.

This commit is contained in:
JoelKatz
2013-05-04 11:36:57 -07:00
parent 02f451fc77
commit 60d40d19b7

View File

@@ -687,7 +687,7 @@ void LedgerMaster::updatePaths()
else if (mPathFindNewRequest)
{
newOnly = true;
lastLedger = boost::make_shared<Ledger>(*mCurrentLedger, false);
lastLedger = boost::make_shared<Ledger>(boost::ref(*mCurrentLedger), false);
}
else
{