mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 10:16:45 +00:00
Simplify locking and move a typedef.
* Make DatabaseCon's lock private and expose a scoped lock_guard. * Get rid of DeprecatedRecursiveMutex and DeprecatedScopedLock entirely. * Move CancelCallback to Job where it logically belongs.
This commit is contained in:
committed by
Vinnie Falco
parent
02c2029ac1
commit
6335e34395
@@ -52,7 +52,7 @@ JobType Job::getType () const
|
||||
return mType;
|
||||
}
|
||||
|
||||
CancelCallback Job::getCancelCallback () const
|
||||
Job::CancelCallback Job::getCancelCallback () const
|
||||
{
|
||||
bassert (m_cancelCallback);
|
||||
return m_cancelCallback;
|
||||
|
||||
Reference in New Issue
Block a user