mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use RippleMutex instead of boost::mutex
This commit is contained in:
@@ -4,9 +4,15 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
RippleLineCache::RippleLineCache (Ledger::ref l)
|
||||
: mLock (this, "RippleLineCache", __FILE__, __LINE__)
|
||||
, mLedger (l)
|
||||
{
|
||||
}
|
||||
|
||||
AccountItems& RippleLineCache::getRippleLines (const uint160& accountID)
|
||||
{
|
||||
boost::mutex::scoped_lock sl (mLock);
|
||||
ScopedLockType sl (mLock, __FILE__, __LINE__);
|
||||
|
||||
boost::unordered_map <uint160, AccountItems::pointer>::iterator it = mRLMap.find (accountID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user