diff options
Diffstat (limited to 'src/mongo/db/operation_context.cpp')
-rw-r--r-- | src/mongo/db/operation_context.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/operation_context.cpp b/src/mongo/db/operation_context.cpp index 8151fe97dfa..f96c644b431 100644 --- a/src/mongo/db/operation_context.cpp +++ b/src/mongo/db/operation_context.cpp @@ -397,11 +397,6 @@ OperationContext::RecoveryUnitState OperationContext::setRecoveryUnit(RecoveryUn return oldState; } -std::unique_ptr<Locker> OperationContext::releaseLockState() { - dassert(_locker); - return std::move(_locker); -} - void OperationContext::setLockState(std::unique_ptr<Locker> locker) { dassert(!_locker); dassert(locker); |