summaryrefslogtreecommitdiff
path: root/src/mongo/db/operation_context_noop.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-11-06 22:18:15 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-11-13 14:30:10 -0500
commit284f942a45b877f0baecd19cbf17fc2a4e246a79 (patch)
tree1ab1c86450338fe7f5b7276cb3a35b092b61bc93 /src/mongo/db/operation_context_noop.h
parent1722a1f3ec981d2e6c3478685e527a34f9863f2e (diff)
downloadmongo-284f942a45b877f0baecd19cbf17fc2a4e246a79.tar.gz
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.
Diffstat (limited to 'src/mongo/db/operation_context_noop.h')
-rw-r--r--src/mongo/db/operation_context_noop.h4
1 files changed, 1 insertions, 3 deletions
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();
}