mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Some const-correctness.
const SLE::pointer & -> SLE::ref
This commit is contained in:
@@ -508,7 +508,7 @@ void Ledger::setCloseTime(boost::posix_time::ptime ptm)
|
||||
}
|
||||
|
||||
// XXX Use shared locks where possible?
|
||||
LedgerStateParms Ledger::writeBack(LedgerStateParms parms, const SLE::pointer& entry)
|
||||
LedgerStateParms Ledger::writeBack(LedgerStateParms parms, SLE::ref entry)
|
||||
{
|
||||
ScopedLock l(mAccountStateMap->Lock());
|
||||
bool create = false;
|
||||
|
||||
Reference in New Issue
Block a user