diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2016-04-19 10:30:08 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2016-04-20 09:55:59 -0400 |
commit | 74280dd7b600c51f01e28e137a73f61fc0d0a2a2 (patch) | |
tree | 95dfe535377fe297b2098b9365a522b50f1f5c1f /src/mongo/db/instance.cpp | |
parent | 22082d01a15a589398f3db6f9357dedd1a4c73fe (diff) | |
download | mongo-74280dd7b600c51f01e28e137a73f61fc0d0a2a2.tar.gz |
SERVER-23779 Replace direct instantiation of OperationContextImpl with cc().makeOperationContext().
Also, make OperationContextImpl's constructor private so that it can only be
constructed via a Client.
Diffstat (limited to 'src/mongo/db/instance.cpp')
-rw-r--r-- | src/mongo/db/instance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/instance.cpp b/src/mongo/db/instance.cpp index d3cac033950..947f0485c2c 100644 --- a/src/mongo/db/instance.cpp +++ b/src/mongo/db/instance.cpp @@ -42,6 +42,7 @@ #include "mongo/db/auth/authz_manager_external_state_d.h" #include "mongo/db/background.h" #include "mongo/db/catalog/index_create.h" +#include "mongo/db/client.h" #include "mongo/db/clientcursor.h" #include "mongo/db/commands.h" #include "mongo/db/commands/fsync.h" @@ -66,7 +67,6 @@ #include "mongo/db/mongod_options.h" #include "mongo/db/namespace_string.h" #include "mongo/db/op_observer.h" -#include "mongo/db/operation_context_impl.h" #include "mongo/db/ops/delete_request.h" #include "mongo/db/ops/insert.h" #include "mongo/db/ops/parsed_delete.h" |