diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2018-06-12 16:12:24 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2018-06-15 13:57:07 -0400 |
commit | e733c07891c2f1e16320707317eeb28559bdc03f (patch) | |
tree | 3996cacafb06f58e2d35f13b779cdc632c84bde9 /src/mongo/dbtests/clienttests.cpp | |
parent | 4b23c5793849cb9a6943607d2a55d7306e61eed4 (diff) | |
download | mongo-e733c07891c2f1e16320707317eeb28559bdc03f.tar.gz |
SERVER-35516 Get rid of OldClientWriteContext
Diffstat (limited to 'src/mongo/dbtests/clienttests.cpp')
-rw-r--r-- | src/mongo/dbtests/clienttests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/clienttests.cpp b/src/mongo/dbtests/clienttests.cpp index 13fc07014bd..cbec62d92b5 100644 --- a/src/mongo/dbtests/clienttests.cpp +++ b/src/mongo/dbtests/clienttests.cpp @@ -108,7 +108,7 @@ public: const ServiceContext::UniqueOperationContext opCtxPtr = cc().makeOperationContext(); OperationContext& opCtx = *opCtxPtr; - OldClientWriteContext ctx(&opCtx, ns()); + dbtests::WriteContextForTests ctx(&opCtx, ns()); DBDirectClient db(&opCtx); db.insert(ns(), BSON("x" << 1 << "y" << 2)); |