diff options
Diffstat (limited to 'src/mongo/embedded')
-rw-r--r-- | src/mongo/embedded/embedded.cpp | 4 | ||||
-rw-r--r-- | src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/embedded/embedded.cpp b/src/mongo/embedded/embedded.cpp index db941660254..d63202c95b4 100644 --- a/src/mongo/embedded/embedded.cpp +++ b/src/mongo/embedded/embedded.cpp @@ -115,7 +115,7 @@ ServiceContext::ConstructorActionRegisterer replicationManagerInitializer( [](ServiceContext* serviceContext) { repl::StorageInterface::set(serviceContext, std::make_unique<repl::StorageInterfaceImpl>()); - auto logicalClock = stdx::make_unique<LogicalClock>(serviceContext); + auto logicalClock = std::make_unique<LogicalClock>(serviceContext); LogicalClock::set(serviceContext, std::move(logicalClock)); auto replCoord = std::make_unique<ReplicationCoordinatorEmbedded>(serviceContext); @@ -313,7 +313,7 @@ ServiceContext* initialize(const char* yaml_config) { // Set up the logical session cache LogicalSessionCache::set(serviceContext, - stdx::make_unique<LogicalSessionCacheImpl>( + std::make_unique<LogicalSessionCacheImpl>( std::make_unique<ServiceLiaisonMongod>(), std::make_shared<SessionsCollectionStandalone>(), [](OperationContext*, SessionsCollection&, Date_t) { diff --git a/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp b/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp index c6c5c65c8a8..2138c420e2d 100644 --- a/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp +++ b/src/mongo/embedded/mongoc_embedded/mongoc_embedded_test.cpp @@ -33,6 +33,7 @@ #include "mongoc_embedded/mongoc_embedded.h" +#include <memory> #include <set> #include <mongoc/mongoc.h> @@ -42,7 +43,6 @@ #include "mongo/db/server_options.h" #include "mongo/embedded/mongo_embedded/mongo_embedded.h" #include "mongo/embedded/mongoc_embedded/mongoc_embedded_test_gen.h" -#include "mongo/stdx/memory.h" #include "mongo/unittest/temp_dir.h" #include "mongo/unittest/unittest.h" #include "mongo/util/log.h" |