From 284f942a45b877f0baecd19cbf17fc2a4e246a79 Mon Sep 17 00:00:00 2001 From: Kaloian Manassiev Date: Thu, 6 Nov 2014 22:18:15 -0500 Subject: SERVER-14062 Cleanup Client::hasWrittenSinceCheckpoint and some usages of cc() This is in preparation for removing the Global OperationContext registry. OperationContexts will instead be reachable through the client. --- src/mongo/db/operation_context_noop.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mongo/db/operation_context_noop.h') diff --git a/src/mongo/db/operation_context_noop.h b/src/mongo/db/operation_context_noop.h index 347578c8cc7..8d946850186 100644 --- a/src/mongo/db/operation_context_noop.h +++ b/src/mongo/db/operation_context_noop.h @@ -32,7 +32,6 @@ #include "mongo/db/curop.h" #include "mongo/db/storage/recovery_unit_noop.h" - namespace mongo { class OperationContextNoop : public OperationContext { @@ -81,8 +80,7 @@ namespace mongo { return &_pm; } - virtual void checkForInterrupt(bool heedMutex = true) const { } - + virtual void checkForInterrupt() const { } virtual Status checkForInterruptNoAssert() const { return Status::OK(); } -- cgit v1.2.1