From 0ab34aa7b9c3c48ea6cf17888620fca455284d35 Mon Sep 17 00:00:00 2001 From: Andy Schwerin Date: Sat, 16 Apr 2016 12:24:16 -0400 Subject: 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. --- src/mongo/dbtests/mock_replica_set_test.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mongo/dbtests/mock_replica_set_test.cpp') diff --git a/src/mongo/dbtests/mock_replica_set_test.cpp b/src/mongo/dbtests/mock_replica_set_test.cpp index 3b0ac16074c..0ead3d418ab 100644 --- a/src/mongo/dbtests/mock_replica_set_test.cpp +++ b/src/mongo/dbtests/mock_replica_set_test.cpp @@ -25,6 +25,8 @@ * then also delete it in the license file. */ +#include "mongo/platform/basic.h" + #include "mongo/client/dbclientinterface.h" #include "mongo/dbtests/mock/mock_replica_set.h" #include "mongo/unittest/unittest.h" -- cgit v1.2.1