summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/collection_to_capped.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2016-04-19 10:30:08 -0400
committerAndy Schwerin <schwerin@mongodb.com>2016-04-20 09:55:59 -0400
commit74280dd7b600c51f01e28e137a73f61fc0d0a2a2 (patch)
tree95dfe535377fe297b2098b9365a522b50f1f5c1f /src/mongo/db/commands/collection_to_capped.cpp
parent22082d01a15a589398f3db6f9357dedd1a4c73fe (diff)
downloadmongo-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/commands/collection_to_capped.cpp')
-rw-r--r--src/mongo/db/commands/collection_to_capped.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/commands/collection_to_capped.cpp b/src/mongo/db/commands/collection_to_capped.cpp
index 03d8552e2ae..59866778ab1 100644
--- a/src/mongo/db/commands/collection_to_capped.cpp
+++ b/src/mongo/db/commands/collection_to_capped.cpp
@@ -39,7 +39,6 @@
#include "mongo/db/service_context.h"
#include "mongo/db/index_builder.h"
#include "mongo/db/op_observer.h"
-#include "mongo/db/operation_context_impl.h"
#include "mongo/db/query/find.h"
#include "mongo/db/query/internal_plans.h"
#include "mongo/db/repl/replication_coordinator_global.h"