moved all Ledger:: functions to the same .cpp file

This commit is contained in:
jed
2012-08-20 09:51:10 -07:00
parent 336a1c27fc
commit 3dc0646ed8
6 changed files with 4 additions and 356 deletions

View File

@@ -505,8 +505,7 @@ void Ledger::setCloseTime(boost::posix_time::ptime ptm)
}
// XXX Use shared locks where possible?
LedgerStateParms Ledger::writeBack(LedgerStateParms parms, SLE::pointer entry)
LedgerStateParms Ledger::writeBack(LedgerStateParms parms, const SLE::pointer& entry)
{
ScopedLock l(mAccountStateMap->Lock());
bool create = false;
@@ -696,4 +695,5 @@ SLE::pointer Ledger::getRippleState(LedgerStateParms& parms, const uint256& uNod
}
// vim:ts=4