diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-11-06 22:18:15 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-11-13 14:30:10 -0500 |
commit | 284f942a45b877f0baecd19cbf17fc2a4e246a79 (patch) | |
tree | 1ab1c86450338fe7f5b7276cb3a35b092b61bc93 /src/mongo/db/operation_context_noop.h | |
parent | 1722a1f3ec981d2e6c3478685e527a34f9863f2e (diff) | |
download | mongo-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.h | 4 |
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(); } |