summaryrefslogtreecommitdiff
path: root/src/mongo/db/keys_collection_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/keys_collection_manager.h')
-rw-r--r--src/mongo/db/keys_collection_manager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/keys_collection_manager.h b/src/mongo/db/keys_collection_manager.h
index 660d998f07f..c220e1ba990 100644
--- a/src/mongo/db/keys_collection_manager.h
+++ b/src/mongo/db/keys_collection_manager.h
@@ -29,6 +29,7 @@
#pragma once
+#include <functional>
#include <memory>
#include "mongo/base/status_with.h"
@@ -36,7 +37,6 @@
#include "mongo/db/keys_collection_cache.h"
#include "mongo/db/keys_collection_document.h"
#include "mongo/db/keys_collection_manager_gen.h"
-#include "mongo/stdx/functional.h"
#include "mongo/stdx/mutex.h"
#include "mongo/stdx/thread.h"
#include "mongo/util/concurrency/notification.h"
@@ -120,7 +120,7 @@ private:
*/
class PeriodicRunner {
public:
- using RefreshFunc = stdx::function<StatusWith<KeysCollectionDocument>(OperationContext*)>;
+ using RefreshFunc = std::function<StatusWith<KeysCollectionDocument>(OperationContext*)>;
/**
* Preemptively inform the monitoring thread it needs to perform a refresh. Returns an