summaryrefslogtreecommitdiff
path: root/src/mongo/db/session_killer.h
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2019-06-10 01:18:23 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-06-10 01:18:23 -0400
commitc9548e729c8fecd9d7a9a5dd341da0433194ac73 (patch)
tree37b05114182d8a7787c0b39aa71b0ec381292e85 /src/mongo/db/session_killer.h
parentc43636652fc4fb69a47f4eaaa767bc57bb59bb5f (diff)
downloadmongo-c9548e729c8fecd9d7a9a5dd341da0433194ac73.tar.gz
SERVER-39338 Remove `stdx/functional.h`
Diffstat (limited to 'src/mongo/db/session_killer.h')
-rw-r--r--src/mongo/db/session_killer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/session_killer.h b/src/mongo/db/session_killer.h
index 5df03edcaee..44f58509d70 100644
--- a/src/mongo/db/session_killer.h
+++ b/src/mongo/db/session_killer.h
@@ -30,6 +30,7 @@
#pragma once
#include <boost/optional.hpp>
+#include <functional>
#include <memory>
#include <random>
#include <vector>
@@ -37,7 +38,6 @@
#include "mongo/base/status_with.h"
#include "mongo/db/kill_sessions.h"
#include "mongo/stdx/condition_variable.h"
-#include "mongo/stdx/functional.h"
#include "mongo/stdx/mutex.h"
#include "mongo/stdx/thread.h"
#include "mongo/stdx/unordered_set.h"
@@ -91,7 +91,7 @@ public:
* A process specific kill function (we have a different impl in mongos versus mongod).
*/
using KillFunc =
- stdx::function<Result(OperationContext*, const Matcher&, UniformRandomBitGenerator* urbg)>;
+ std::function<Result(OperationContext*, const Matcher&, UniformRandomBitGenerator* urbg)>;
/**
* The killer lives as a decoration on the service context.