diff options
Diffstat (limited to 'src/mongo/executor/test_network_connection_hook.h')
-rw-r--r-- | src/mongo/executor/test_network_connection_hook.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/executor/test_network_connection_hook.h b/src/mongo/executor/test_network_connection_hook.h index d1cc11b8626..5a22ac24f54 100644 --- a/src/mongo/executor/test_network_connection_hook.h +++ b/src/mongo/executor/test_network_connection_hook.h @@ -32,7 +32,6 @@ #include "mongo/base/status_with.h" #include "mongo/executor/network_connection_hook.h" -#include "mongo/stdx/memory.h" namespace mongo { namespace executor { @@ -80,9 +79,9 @@ template <typename Val, typename Req, typename Rep> std::unique_ptr<TestConnectionHook<Val, Req, Rep>> makeTestHook(Val&& validateFunc, Req&& requestFunc, Rep&& replyFunc) { - return stdx::make_unique<TestConnectionHook<Val, Req, Rep>>(std::forward<Val>(validateFunc), - std::forward<Req>(requestFunc), - std::forward<Rep>(replyFunc)); + return std::make_unique<TestConnectionHook<Val, Req, Rep>>(std::forward<Val>(validateFunc), + std::forward<Req>(requestFunc), + std::forward<Rep>(replyFunc)); } } // namespace executor |