diff options
| author | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-06-10 01:21:01 -0400 |
|---|---|---|
| committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-06-10 01:59:35 -0400 |
| commit | c36f9ecb91e49da7e637863889804fc4e6c6c05e (patch) | |
| tree | 64d8aadb6d29042d4f4e7366bc1457e4e0612383 /src/mongo/executor/async_timer_mock.cpp | |
| parent | c9548e729c8fecd9d7a9a5dd341da0433194ac73 (diff) | |
| download | mongo-c36f9ecb91e49da7e637863889804fc4e6c6c05e.tar.gz | |
SERVER-39339 Remove `stdx/memory.h`
Diffstat (limited to 'src/mongo/executor/async_timer_mock.cpp')
| -rw-r--r-- | src/mongo/executor/async_timer_mock.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/executor/async_timer_mock.cpp b/src/mongo/executor/async_timer_mock.cpp index 0ba1712a189..6a796b684e7 100644 --- a/src/mongo/executor/async_timer_mock.cpp +++ b/src/mongo/executor/async_timer_mock.cpp @@ -29,8 +29,9 @@ #include "mongo/executor/async_timer_mock.h" +#include <memory> + #include "mongo/base/system_error.h" -#include "mongo/stdx/memory.h" namespace mongo { namespace executor { @@ -135,7 +136,7 @@ void AsyncTimerMock::expireAfter(Milliseconds expiration) { std::unique_ptr<AsyncTimerInterface> AsyncTimerFactoryMock::make(Milliseconds expiration) { stdx::lock_guard<stdx::recursive_mutex> lk(_timersMutex); auto elem = _timers.emplace(std::make_shared<AsyncTimerMockImpl>(expiration)); - return stdx::make_unique<AsyncTimerMock>(*elem.first); + return std::make_unique<AsyncTimerMock>(*elem.first); } void AsyncTimerFactoryMock::fastForward(Milliseconds time) { |
