summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_tail_test.cpp
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2019-06-10 01:21:01 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-06-10 01:59:35 -0400
commitc36f9ecb91e49da7e637863889804fc4e6c6c05e (patch)
tree64d8aadb6d29042d4f4e7366bc1457e4e0612383 /src/mongo/db/repl/sync_tail_test.cpp
parentc9548e729c8fecd9d7a9a5dd341da0433194ac73 (diff)
downloadmongo-c36f9ecb91e49da7e637863889804fc4e6c6c05e.tar.gz
SERVER-39339 Remove `stdx/memory.h`
Diffstat (limited to 'src/mongo/db/repl/sync_tail_test.cpp')
-rw-r--r--src/mongo/db/repl/sync_tail_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/sync_tail_test.cpp b/src/mongo/db/repl/sync_tail_test.cpp
index 403b3d4d268..f63d49d4c31 100644
--- a/src/mongo/db/repl/sync_tail_test.cpp
+++ b/src/mongo/db/repl/sync_tail_test.cpp
@@ -2372,7 +2372,7 @@ TEST_F(SyncTailTest, LogSlowOpApplicationWhenSuccessful) {
// This duration is greater than "slowMS", so the op would be considered slow.
auto applyDuration = serverGlobalParams.slowMS * 10;
getServiceContext()->setFastClockSource(
- stdx::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration)));
+ std::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration)));
// We are inserting into an existing collection.
const NamespaceString nss("test.t");
@@ -2395,7 +2395,7 @@ TEST_F(SyncTailTest, DoNotLogSlowOpApplicationWhenFailed) {
// This duration is greater than "slowMS", so the op would be considered slow.
auto applyDuration = serverGlobalParams.slowMS * 10;
getServiceContext()->setFastClockSource(
- stdx::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration)));
+ std::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration)));
// We are trying to insert into a non-existing database.
NamespaceString nss("test.t");
@@ -2420,7 +2420,7 @@ TEST_F(SyncTailTest, DoNotLogNonSlowOpApplicationWhenSuccessful) {
// This duration is below "slowMS", so the op would *not* be considered slow.
auto applyDuration = serverGlobalParams.slowMS / 10;
getServiceContext()->setFastClockSource(
- stdx::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration)));
+ std::make_unique<AutoAdvancingClockSourceMock>(Milliseconds(applyDuration)));
// We are inserting into an existing collection.
const NamespaceString nss("test.t");