diff options
Diffstat (limited to 'src/mongo/db/sessions_collection.h')
-rw-r--r-- | src/mongo/db/sessions_collection.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/sessions_collection.h b/src/mongo/db/sessions_collection.h index 91ae86e7c9f..7eeaaf0dada 100644 --- a/src/mongo/db/sessions_collection.h +++ b/src/mongo/db/sessions_collection.h @@ -29,8 +29,9 @@ #pragma once +#include <functional> + #include "mongo/db/logical_session_id.h" -#include "mongo/stdx/functional.h" namespace mongo { @@ -100,11 +101,11 @@ protected: /** * Makes a send function for the given client. */ - using SendBatchFn = stdx::function<Status(BSONObj batch)>; + using SendBatchFn = std::function<Status(BSONObj batch)>; static SendBatchFn makeSendFnForCommand(const NamespaceString& ns, DBClientBase* client); static SendBatchFn makeSendFnForBatchWrite(const NamespaceString& ns, DBClientBase* client); - using FindBatchFn = stdx::function<StatusWith<BSONObj>(BSONObj batch)>; + using FindBatchFn = std::function<StatusWith<BSONObj>(BSONObj batch)>; static FindBatchFn makeFindFnForCommand(const NamespaceString& ns, DBClientBase* client); /** |