diff options
Diffstat (limited to 'src/mongo/s/client/shard_factory.h')
-rw-r--r-- | src/mongo/s/client/shard_factory.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/s/client/shard_factory.h b/src/mongo/s/client/shard_factory.h index c830a470fda..bbd07b061f9 100644 --- a/src/mongo/s/client/shard_factory.h +++ b/src/mongo/s/client/shard_factory.h @@ -34,11 +34,9 @@ #include <memory> #include <string> - #include "mongo/client/connection_string.h" #include "mongo/client/remote_command_targeter_factory.h" #include "mongo/s/client/shard.h" -#include "mongo/stdx/functional.h" namespace mongo { @@ -51,7 +49,7 @@ class ShardFactory { public: using BuilderCallable = - stdx::function<std::unique_ptr<Shard>(const ShardId&, const ConnectionString&)>; + std::function<std::unique_ptr<Shard>(const ShardId&, const ConnectionString&)>; using BuildersMap = std::map<ConnectionString::ConnectionType, BuilderCallable>; ShardFactory(BuildersMap&&, std::unique_ptr<RemoteCommandTargeterFactory>); |