summaryrefslogtreecommitdiff
path: root/src/mongo/shell/bench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/bench.cpp')
-rw-r--r--src/mongo/shell/bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/bench.cpp b/src/mongo/shell/bench.cpp
index 78769755580..9d8cea8639f 100644
--- a/src/mongo/shell/bench.cpp
+++ b/src/mongo/shell/bench.cpp
@@ -1116,7 +1116,7 @@ void BenchRunOp::executeOnce(DBClientBase* conn,
// Use special query function for exhaust query option.
if (this->options & QueryOption_Exhaust) {
BenchRunEventTrace _bret(&state->stats->queryCounter);
- stdx::function<void(const BSONObj&)> castedDoNothing(doNothing);
+ std::function<void(const BSONObj&)> castedDoNothing(doNothing);
count =
conn->query(castedDoNothing,
NamespaceString(this->ns),