summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/rollback_source_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/rollback_source_impl.h')
-rw-r--r--src/mongo/db/repl/rollback_source_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/rollback_source_impl.h b/src/mongo/db/repl/rollback_source_impl.h
index 1c283eb5ed8..66635dde23d 100644
--- a/src/mongo/db/repl/rollback_source_impl.h
+++ b/src/mongo/db/repl/rollback_source_impl.h
@@ -29,11 +29,11 @@
#pragma once
+#include <functional>
#include <string>
#include "mongo/db/repl/oplog_interface_remote.h"
#include "mongo/db/repl/rollback_source.h"
-#include "mongo/stdx/functional.h"
#include "mongo/util/net/hostandport.h"
namespace mongo {
@@ -51,7 +51,7 @@ public:
/**
* Type of function to return a connection to the sync source.
*/
- using GetConnectionFn = stdx::function<DBClientBase*()>;
+ using GetConnectionFn = std::function<DBClientBase*()>;
RollbackSourceImpl(GetConnectionFn getConnection,
const HostAndPort& source,