diff options
author | samantharitter <samantha.ritter@10gen.com> | 2017-04-05 16:48:16 -0400 |
---|---|---|
committer | samantharitter <samantha.ritter@10gen.com> | 2017-04-12 13:17:21 -0400 |
commit | 7dc10fd9d845756bb983fe1637dece6f3d37b981 (patch) | |
tree | fdb3d1042f0cfa4c5f1eb5b5994615021d174f99 /src/mongo/db/repl/service_context_repl_mock.h | |
parent | 56b8f03ca7c0c6a315a30a7a41bd781540dedde8 (diff) | |
download | mongo-7dc10fd9d845756bb983fe1637dece6f3d37b981.tar.gz |
SERVER-28298 Allow OperationContext objects to be created with an optional LogicalSessionId
Diffstat (limited to 'src/mongo/db/repl/service_context_repl_mock.h')
-rw-r--r-- | src/mongo/db/repl/service_context_repl_mock.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/repl/service_context_repl_mock.h b/src/mongo/db/repl/service_context_repl_mock.h index 8ffb92a9da1..dfc68a020d7 100644 --- a/src/mongo/db/repl/service_context_repl_mock.h +++ b/src/mongo/db/repl/service_context_repl_mock.h @@ -39,7 +39,9 @@ namespace repl { */ class ServiceContextReplMock : public ServiceContextNoop { private: - std::unique_ptr<OperationContext> _newOpCtx(Client* client, unsigned opId) override; + std::unique_ptr<OperationContext> _newOpCtx(Client* client, + unsigned opId, + boost::optional<LogicalSessionId>) override; }; } // namespace repl |