summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/update_node_test_fixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/update/update_node_test_fixture.h')
-rw-r--r--src/mongo/db/update/update_node_test_fixture.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/update/update_node_test_fixture.h b/src/mongo/db/update/update_node_test_fixture.h
index 73953167ffc..e0b448fd9e4 100644
--- a/src/mongo/db/update/update_node_test_fixture.h
+++ b/src/mongo/db/update/update_node_test_fixture.h
@@ -47,7 +47,7 @@ protected:
// Set up the logical clock needed by CurrentDateNode and ObjectReplaceExecutor.
auto service = mongo::getGlobalServiceContext();
- auto logicalClock = mongo::stdx::make_unique<mongo::LogicalClock>(service);
+ auto logicalClock = std::make_unique<mongo::LogicalClock>(service);
mongo::LogicalClock::set(service, std::move(logicalClock));
}
@@ -62,7 +62,7 @@ protected:
_validateForStorage = true;
_indexData.reset();
_logDoc.reset();
- _logBuilder = stdx::make_unique<LogBuilder>(_logDoc.root());
+ _logBuilder = std::make_unique<LogBuilder>(_logDoc.root());
_modifiedPaths.clear();
}
@@ -86,7 +86,7 @@ protected:
}
void addImmutablePath(StringData path) {
- auto fieldRef = stdx::make_unique<FieldRef>(path);
+ auto fieldRef = std::make_unique<FieldRef>(path);
_immutablePathsVector.push_back(std::move(fieldRef));
_immutablePaths.insert(_immutablePathsVector.back().get());
}
@@ -119,7 +119,7 @@ protected:
void addIndexedPath(StringData path) {
if (!_indexData) {
- _indexData = stdx::make_unique<UpdateIndexData>();
+ _indexData = std::make_unique<UpdateIndexData>();
}
_indexData->addPath(FieldRef(path));
}