summaryrefslogtreecommitdiff
path: root/src/mongo/s/grid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/grid.h')
-rw-r--r--src/mongo/s/grid.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/s/grid.h b/src/mongo/s/grid.h
index 794a93f262f..db9a3fbad89 100644
--- a/src/mongo/s/grid.h
+++ b/src/mongo/s/grid.h
@@ -29,11 +29,12 @@
#pragma once
+#include <functional>
+
#include "mongo/db/repl/optime.h"
#include "mongo/s/catalog/sharding_catalog_client.h"
#include "mongo/s/catalog_cache.h"
#include "mongo/s/client/shard_registry.h"
-#include "mongo/stdx/functional.h"
#include "mongo/stdx/memory.h"
#include "mongo/stdx/mutex.h"
@@ -58,7 +59,7 @@ public:
Grid();
~Grid();
- using CustomConnectionPoolStatsFn = stdx::function<void(executor::ConnectionPoolStats* stats)>;
+ using CustomConnectionPoolStatsFn = std::function<void(executor::ConnectionPoolStats* stats)>;
/**
* Retrieves the instance of Grid associated with the current service/operation context.