diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2016-04-22 17:16:45 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2016-05-24 11:02:20 -0400 |
commit | 8a08cedcdf5a7edb3ad3da1bcbd2cf2a426be547 (patch) | |
tree | 8b664a8b448ae788e89cfbb23e5942e48e3309f2 /src/mongo/db/operation_context_noop.h | |
parent | 0ed049682378896e5c2eb4f689ebbed722323a12 (diff) | |
download | mongo-8a08cedcdf5a7edb3ad3da1bcbd2cf2a426be547.tar.gz |
SERVER-23905 Move writesAreReplicated flag from OperationContextImpl to OperationContext.
This removes the last difference between OperationContextNoop and
OperationContextReplMock, so this patch also deletes the latter.
Diffstat (limited to 'src/mongo/db/operation_context_noop.h')
-rw-r--r-- | src/mongo/db/operation_context_noop.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/operation_context_noop.h b/src/mongo/db/operation_context_noop.h index 0c83bdbeec8..1a462c891b8 100644 --- a/src/mongo/db/operation_context_noop.h +++ b/src/mongo/db/operation_context_noop.h @@ -100,12 +100,6 @@ public: return std::string(); }; - void setReplicatedWrites(bool writesAreReplicated = true) override {} - - bool writesAreReplicated() const override { - return false; - } - private: std::unique_ptr<RecoveryUnit> _recoveryUnit; std::unique_ptr<Locker> _locker; |